Hi, I'm trying to get a java daemon running. It was written in a Linux environment and I'm trying to get it to run in XP. The problem is probably with a missing dependency, but I'm very new to java and really don't know what the error message means or where to look for answers.
Here is the code:and here is the error message:package com.dss.xrp.smtp.bootstrap; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; import com.dss.xrp.smtp.SmtpServer; public class Bootstrap { public static void main(String[] args) { AbstractApplicationContext ctx = new ClassPathXmlApplicationContext( "smtp-server-context.xml"); ctx.start(); SmtpServer svr = (SmtpServer) ctx.getBean("dssServer"); svr.start(); } }
.
.
.
betha-smtp.jar;D:\dss\smtp\lib\subethasmtp.jar;D:\dss\sm tp\conf\smtp2mq com.ds
s.xrp.smtp.bootstrap.Bootstrap
FowrdingListener
Runtime environment is 0( Production )
Exception in thread "main" org.springframework.beans.factory.BeanCreationExce pti
on: Error creating bean with name 'subethaServer' defined in class path resource
[smtp-server-context.xml]: Instantiation of bean failed; nested exception is or
g.springframework.beans.BeanInstantiationException : Could not instantiate bean c
lass [org.subethamail.smtp.server.SMTPServer]: Constructor threw exception; nest
ed exception is java.lang.NoClassDefFoundError: net/sourceforge/retroweaver/runt
ime/java/lang/Enum
at org.springframework.beans.factory.support.Construc torResolver.autowir
eConstructor(ConstructorResolver.java:254)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapabl eBeanFactory.java:925)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapable BeanFactory.java:835)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFa ctory.java:440)
at org.springframework.beans.factory.support.Abstract AutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.j ava:409)
.
.
... 19 more
Caused by: java.lang.ClassNotFoundException: net.sourceforge.retroweaver.runtim
.java.lang.Enum
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 48)
... 39 more
I'd appreciate some guidance