当我在调试模式下启动 tomcat 时,它给了我上述错误。
<macrodef name="tomcat">
<element name="options" optional="yes" />
<sequential>
<delete dir="server/cache" failonerror="no" />
<delete dir="server/logs" failonerror="no" />
<delete dir="server/workspace" failonerror="no" />
<delete dir="server/tomcat/logs" failonerror="no" />
<antx:tomcat.start>
<tomcat catalinahome="${catalina.home}" port="${server.port}" />
<enovia enoviahome="${enovia.server.home}">
<memory size="medium" />
<classpath>
<pathelement location="${alt.jdk.home}/lib/tools.jar" />
<pathelement location="${webapp.home}/WEB-INF/classes" />
<pathelement location="${webapp.home}/WEB-INF/lib" />
<pathelement location="${catalina.home}/lib/jsp-api.jar" />
<pathelement location="${catalina.home}/lib/servlet-api.jar" />
</classpath>
<bootstrap connectstring="${oracle.sid}" driver="${oracle.driver}" password="${schema.password}" user="${schema.user}" />
</enovia>
<webapp location="${webapp.home}" />
<javahome location="${alt.jdk.home}" />
<options />
</antx:tomcat.start>
</sequential>
</macrodef>
<target name="tomcat-start-debug" description="start tomcat in debug mode">
<tomcat>
<options>
<jrebel location="${jrebel.jar}" />
<debug transport="dt_socket" address="8998" server="y" suspend="n" />
</options>
</tomcat>
</target>
我在其他一些项目中具有相同的配置,并且可以正常工作。我正在尝试为此找到解决方案。如果有人知道如何解决这个问题,如果它在这里分享会很有帮助。
谢谢,桑迪普