Hi,

When I run mvn -Dcargo.wait=true then accessing http://localhost:8081,
everything is blank now, I cant even see the login page. Even viewing the HTML source is blank.

When I run "mvn tomcat:run-war" there's this exception.

Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.ExceptionInInitializerError
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4230)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4107)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:253)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:113)
        at org.apache.maven.plugin.

I also searched in google "jsp blank page" and there are lots of developers experiencing this problem too.
So I guess it's not an AppFuse issue but I'm still not able to find a solution on the web. :(


Matt Raible wrote:
What happens if you deploy it to Tomcat using "mvn -Dcargo.wait=true"?

Matt

On Mon, Aug 11, 2008 at 11:53 PM, "Allan DV. Daños" <[EMAIL PROTECTED]> wrote:
Hi,

I don't wanna disable the sitemesh, I just want to see the JSP errors/exceptions.
But when I tried commenting out the sitemesh filter from the web.xml,
it still gives me a blank page when I access the same page (and removes the CSS layout from the other pages)

This only happens when I run the program using mvn jetty:run-war.
But when I disable the tests by mvn -Dmaven.test.skip=truejetty:run-war,
the page is rendered  successfully.



Matt Raible wrote:
What happens if you remove (or comment out) the SiteMesh filter from web.xml?

On Mon, Aug 11, 2008 at 3:26 AM, "Allan DV. Daños" <[EMAIL PROTECTED]> wrote:
Hi Matt,

How can I enable to show the JSP errors or exceptions?

When I use FreeMarker in my actions, by setting the <result type="freemarker">,
when there are errors, the exception stack trace is printed in the page and in the console.

But when there are errors in JSP such as NPEs or accessing undefined variables,
I find it difficult to debug because it only gives me a blank page and no error logs in the console.

Thanks,
Allan


---------------------------------------------------------------------
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]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to