classpath - Not able to add the Spring jars into EAR under Tomcat Server. note :i added those in WEBINF/lib -
i have added jars webinf/lib not added ear, when add ear tomcat server seeing 1 jar,
webinf/lib: spring jars,
tomcat v7.0 ->myspringexampleear ->only 1 jar
so getting below exception
java.lang.classnotfoundexception: org.springframework.web.context.contextloaderlistner in eclipse-jee-kepler-sr2-win32.
i have tried using deplyoment assembly.still getting same exception
currrently not able attach image.
can please me resolve issue? there solution other maven deploy this?
please read .war vs .ear file
tomcat not handle .ear files, .war files.
if using maven create web app intended deployed tomcat, not use maven ear plugin.
Comments
Post a Comment