解决方法:

WEB-INF/classes目录下新建一个文件叫logging.properties,截图如下:

org.apache.catalina.core.StandardContext.startInternal Context [/test] startup failed due to previou_javascript

代码如下:



1 handlers=org.apache.juli.FileHandler,java.util.logging.ConsoleHandler
2 ############################################################
3 #Handler specific properties.
4 # Describes specific configuration info for Handlers.
5 ############################################################
6 org.apache.juli.FileHandler.level=FINE
7 org.apache.juli.FileHandler.directory=${catalina.base}/logs
8 org.apache.juli.FileHandler.prefix=error-debug.
9 java.util.logging.ConsoleHandler.level=FINE
10 java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter

View Code

 

 

 

参考网址:


​http://grails.1312388.n4.nabble.com/Deployment-problems-td4628710.html​