AXIS部署错误解决方案集锦

        最近部署几个Web Service到TOMCAT上面,用到AXIS。结果老是不成功,下面汇总一些错误和解决之道,虽然目前为止还不算很顺,但是也可以用以日后配置少走弯路之用。

情况1: http://localhost:8080/axis/
错误提示:Unable to find a javac compiler;
                    com.sun.tools.javac.Main is not on the classpath.
                    Perhaps JAVA_HOME does not point to the JDK
解决方案:把JAVA_HOME/lib/tools.jar复制到TOMCAT_HOME/common/lib

你可能感兴趣的:(axis)