I have my project working nicely in dev.
But after deploying to my ISP an exception is thrown when the WAR file is unpacked.
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘MyClassService’ defined in file [/xxx/apache-tomcat-6.0.24/webapps/yyy/WEB-INF/classes/yy/service/MyClassServiceImpl.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/mail/internet/AddressException
it seems to be saying it cant find the mail.java class.
When I look in the libs folder on the server the mail.jar is not there. Nor are a couple of other jar files that I am using.
In MyEclipse the jar files are in the libs folder, they have been included in the java build path and when I look at the Project Properties->Java Build Path->Order and export the three .jar files are there.
So what could be happening that they are not deployed? I am running Export on the project from MyEclypse, copying the war to tomcat/webapps and restarting tomcat.