Hi, We had this problem too - it's because Jetty by default using NIO, and there's a problem with that under windows. The solution we use is (in development) to configure Jetty to use just plain old io:
So instead of using: <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>8081</port> </connector> Try: <connector implementation="org.mortbay.jetty.bio.SocketConnector"> <port>8081</port> </connector> However, in writing this reply I've just found the following: http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows Which may be a more correct solution ... > -----Original Message----- > From: kace [mailto:[EMAIL PROTECTED] > Sent: 12 July 2008 22:00 > To: users@tapestry.apache.org > Subject: Re: [T5] CSS > > > the jetty setup is nothing fancy : > > <!-- Run the application using "mvn jetty:run" --> > <plugin> > <groupId>org.mortbay.jetty</groupId> > <artifactId>maven-jetty-plugin</artifactId> > <version>6.1.9</version> > <configuration> > <contextPath>/</contextPath> > > <webDefaultXml>src/main/resources/webdefault.xml</webDefaultXml> > <!-- Log to the console. --> > <requestLog > implementation="org.mortbay.jetty.NCSARequestLog"> > <!-- This doesn't do anything for > Jetty, but is a workaround for a Maven bug > that prevents the requestLog > from being set. > --> > <append>true</append> > </requestLog> > <connectors> > <connector > implementation="org.mortbay.jetty.nio.SelectChannelConnector"> > <port>8081</port> > </connector> > </connectors> > </configuration> > </plugin> > > how do you have it setup? I put the Layout.tml back under > /resources/org/example/myapp and now it works + now that the > css files are under webapp/ changes get picked up as I change > them - thanks. > > I haven't used annotation for css - use this <link rel="stylesheet" > type="text/css" href="${asset:context:/styles/main.css}"/> > > Regards, > > ..kace > > > -- > View this message in context: > http://www.nabble.com/-T5--tp18415269p18423614.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]