Re: no CSS since 5.6.0
Hello, Marcel! Tapestry 5.6.1 has been released and it fixes this issue without you having to add commons-lang yourself. On Fri, Sep 4, 2020 at 4:21 PM Marcel Schepers wrote: > > > This seems to be a dependency problem. What dependency management tool > > you use? Until we have a proper fix for that in Tapestry itself, you > > can add a dependency to org.apache.commons/commons-lang 3:3.4 to your > > project. > Maven 3 is what I am using. > > Adding the commons-lang 3.4 dependency resolved the problem. > -- Thiago
Re: no CSS since 5.6.0
This seems to be a dependency problem. What dependency management tool you use? Until we have a proper fix for that in Tapestry itself, you can add a dependency to org.apache.commons/commons-lang 3:3.4 to your project. Maven 3 is what I am using. Adding the commons-lang 3.4 dependency resolved the problem.
Re: no CSS since 5.6.0
Oops ... why didn't I think of that myself! Anyways, I did switch off production-mode and here is the resulting error page. Application Exception Tapestry Version: 5.6.0 Application Version: 0-SNAPSHOT An exception has occurred processing this request. org/apache/commons/lang3/StringUtils Go to http://marcelhendinant.comGo to http://marcelhendinant.com (with reload) with reload: Force a reload of component classes. This is often necessary after fixing a class that previously failed to compile due to errors. java.lang.NoClassDefFoundError org/apache/commons/lang3/StringUtils java.lang.ClassNotFoundException org.apache.commons.lang3.StringUtils Filter Frames? Stack trace: java.net.URLClassLoader findClass() URLClassLoader.java 382 java.lang.ClassLoader loadClass() ClassLoader.java 418 java.lang.ClassLoader loadClass() ClassLoader.java 351 org.eclipse.jetty.webapp.WebAppClassLoader loadClass() WebAppClassLoader.java 543 java.lang.ClassLoader loadClass() ClassLoader.java 351 org.apache.tapestry5.internal.services.assets.ChecksumPath () ChecksumPath.java 48 org.apache.tapestry5.internal.services.assets.ContextAssetRequestHandler handleAssetRequest() ContextAssetRequestHandler.java 48 org.apache.tapestry5.internal.services.AssetDispatcher dispatch() AssetDispatcher.java 122 $Dispatcher_7058cdf56054a dispatch() $Dispatcher_7058cdf560553 dispatch() $Dispatcher_7058cdf560547 dispatch() org.apache.tapestry5.modules.TapestryModule$RequestHandlerTerminator service() TapestryModule.java 305 org.apache.tapestry5.internal.services.RequestErrorFilter service() RequestErrorFilter.java 26 $RequestHandler_7058cdf560548 service() org.apache.tapestry5.modules.TapestryModule$3 service() TapestryModule.java 848 $RequestHandler_7058cdf560548 service() org.apache.tapestry5.modules.TapestryModule$2 service() TapestryModule.java 838 $RequestHandler_7058cdf560548 service() org.apache.tapestry5.internal.services.StaticFilesFilter service() StaticFilesFilter.java 89 $RequestHandler_7058cdf560548 service() org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2 invoke() CheckForUpdatesFilter.java 105 org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2 invoke() CheckForUpdatesFilter.java 95 org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier withRead() ConcurrentBarrier.java 83 org.apache.tapestry5.internal.services.CheckForUpdatesFilter service() CheckForUpdatesFilter.java 119 $RequestHandler_7058cdf560548 service() $RequestHandler_7058cdf56053d service() org.apache.tapestry5.modules.TapestryModule$HttpServletRequestHandlerTerminator service() TapestryModule.java 256 org.apache.tapestry5.upload.internal.services.MultipartServletRequestFilter service() MultipartServletRequestFilter.java 45 $HttpServletRequestHandler_7058cdf56053f service() org.apache.tapestry5.internal.gzip.GZipFilter service() GZipFilter.java 59 $HttpServletRequestHandler_7058cdf56053f service() org.apache.tapestry5.internal.services.IgnoredPathsFilter service() IgnoredPathsFilter.java 69 $HttpServletRequestFilter_7058cdf560539 service() $HttpServletRequestHandler_7058cdf56053f service() org.apache.tapestry5.modules.TapestryModule$1 service() TapestryModule.java 798 $HttpServletRequestHandler_7058cdf56053f service() $HttpServletRequestHandler_7058cdf560538 service() org.apache.tapestry5.TapestryFilter doFilter() TapestryFilter.java 166 org.eclipse.jetty.servlet.ServletHandler$CachedChain doFilter() ServletHandler.java 1630 org.eclipse.jetty.servlet.ServletHandler doHandle() ServletHandler.java 567 org.eclipse.jetty.server.handler.ScopedHandler handle() ScopedHandler.java 143 org.eclipse.jetty.security.SecurityHandler handle() SecurityHandler.java 602 org.eclipse.jetty.server.handler.HandlerWrapper handle() HandlerWrapper.java 127 org.eclipse.jetty.server.handler.ScopedHandler nextHandle() ScopedHandler.java 235 org.eclipse.jetty.server.session.SessionHandler doHandle() SessionHandler.java 1610 org.eclipse.jetty.server.handler.ScopedHandler handle() ScopedHandler.java 143 org.eclipse.jetty.server.handler.RequestLogHandler handle() RequestLogHandler.java 54 org.eclipse.jetty.server.handler.HandlerWrapper handle() HandlerWrapper.java 127 org.eclipse.jetty.server.handler.ScopedHandler nextHandle() ScopedHandler.java 235 org.eclipse.jetty.server.handler.ContextHandler doHandle() ContextHandler.java 1377 org.eclipse.jetty.server.handler.ScopedHandler nextScope() ScopedHandler.java 188 org.eclipse.jetty.servlet.ServletHandler doScope() ServletHandler.java 507 org.eclipse.jetty.server.session.SessionHandler doScope() SessionHandler.java 1580 org.eclips
Re: no CSS since 5.6.0
On Thu, Sep 3, 2020 at 7:32 AM Marcel Schepers wrote: > Hello, > Hello! Please try running your site in production with tapestry.production-mode=off to see whether the full stack trace is shown. Attachments are discarded by the ASF mailing list server, so we cannot see your screenshot. > > I am running into a problem eversince I switched to Tapestry 5.6.0. > > When I deploy my web application on a standalone Jetty web server the > site's CSS file generates an exception. I've included a screen dump of > that exception. This exception only occurs on my server machine running > Jetty version 9.4.31. It does not happen on my development machine when > I am using the Jetty maven plugin version 9.4.31. Both my development > machine and my server are fine when using Tapestry 5.5.0. > > I've modified the server's Jetty logging to include all org.apache > related messages by setting the 'org.apache.LEVEL=ALL' in > jetty-logging.properties, but unfortunately nothing related to this > exception shows up. > > Another check I did was to run 'mvn dependency:tree -Dverbose > -Dincludes=commons-lang ', but it did not provide any output. (I am not > including the tapestry-javadoc dependency) > > Perhaps related, if I include the 'tapestry-webresources' dependency I > get a 'java.lang.NoClassDefFoundError: Could not initialize class > com.google.javascript.jscomp.CompilerOptions' error. > > Any suggestions where to look? > > Thanks! > > Marcel > > PS the problem is reproducable by visiting marcelhendinant.com. The site > pops up without any CSS applied. Loading the corresponding CSS file > using 'http://marcelhendinant.com/assets/ctx/z8e391fe2/css/site.css' the > error page shows up. > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org -- Thiago
no CSS since 5.6.0
Hello, I am running into a problem eversince I switched to Tapestry 5.6.0. When I deploy my web application on a standalone Jetty web server the site's CSS file generates an exception. I've included a screen dump of that exception. This exception only occurs on my server machine running Jetty version 9.4.31. It does not happen on my development machine when I am using the Jetty maven plugin version 9.4.31. Both my development machine and my server are fine when using Tapestry 5.5.0. I've modified the server's Jetty logging to include all org.apache related messages by setting the 'org.apache.LEVEL=ALL' in jetty-logging.properties, but unfortunately nothing related to this exception shows up. Another check I did was to run 'mvn dependency:tree -Dverbose -Dincludes=commons-lang ', but it did not provide any output. (I am not including the tapestry-javadoc dependency) Perhaps related, if I include the 'tapestry-webresources' dependency I get a 'java.lang.NoClassDefFoundError: Could not initialize class com.google.javascript.jscomp.CompilerOptions' error. Any suggestions where to look? Thanks! Marcel PS the problem is reproducable by visiting marcelhendinant.com. The site pops up without any CSS applied. Loading the corresponding CSS file using 'http://marcelhendinant.com/assets/ctx/z8e391fe2/css/site.css' the error page shows up. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org