When running grails war file on Tomcat environment, following error message occures and fail to execute the program.
Error Message
: Problem: failed to create task or type native2asciiSolution
Cause: the class org.apache.tools.ant.taskdefs.optional.Native2Ascii was not found.
This looks like one of Ant's optional components.
System can not find the ant-nodeps.jar file in the classpath.
Get ant-nodeps.jar file and put this file into the $TOMCAT_HOME/webapps/[app name]/WEB-INF/lib/ and restart Tomcat process. ant-nodeps.jar file is including Apache ant file.
0 件のコメント:
コメントを投稿