I am trying to implement IntelliJ IDEA because I am disappointed with Eclipse's few buggies to support Maven web projects. I have my web application configured and running, but I found that the IDEA console does not report exceptions that occur when the context starts. When I launch through Eclipse or through bin / startup.sh, I see this:
Jan 26, 2011 2:38:04 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class ...
com.google.inject.CreationException:
Guice creation errors:
1) No implementation for ... was bound. while locating ... for parameter 0 at ...
at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:354)
...
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
However, in IDEA there is no way to see this incredibly valuable trace. The only sign:
Jan 26, 2011 2:26:38 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/...] startup failed due to previous errors
what is not so useful! How can I send this main error output to the console? (It seems that IDEA somehow suppresses the normal creation of tomcat log files, so I can't even check the log file for an exception.)
source
share