반응형
Ant로 되어있는 샘플을 돌릴려고 하던중에 ant에서 다음의 오류를 돌려주었다.
BUILD FAILED
D:\Dev_home\workspace\springapp\build.xml:84: taskdef class org.apache.catalina.ant.InstallTask cannot be found
using the classloader AntClassLoader[D:\Dev_home\apache-tomcat-7.0.26\lib\catalina-ant.jar]
그리해서 build.xml에서
org.apache.catalina.ant.InstallTask 이 부분이 문제였던듯.
org.apache.catalina.ant.DeployTask 변경하니 잘 돌아간다. :)
Before
<taskdef name="install" classname="org.apache.catalina.ant.InstallTask">
<classpath refid="catalina-ant-classpath"/>
</taskdef>
After
<taskdef name="install" classname="org.apache.catalina.ant. DeployTask">
<classpath refid="catalina-ant-classpath"/>
</taskdef>
참고 : http://www.velocityreviews.com/forums/t389156-spring-tomcat-ant-java-development.html
반응형
'FullStack > 21. Java' 카테고리의 다른 글
[WARN] Using platform encoding (MS949 actually) to copy filtered resources, i.e. build is platform dependent! (0) | 2012.05.30 |
---|---|
Pdf 한글 출력 (0) | 2012.05.18 |
warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds (0) | 2012.03.30 |
Recompile with -Xlint:unchecked for details (0) | 2011.05.25 |
Spring Framework (0) | 2007.06.22 |