带有spring ClassNotFound异常的java.rmi.UnmarshaleException
尝试运行应用程序时,出现以下异常:带有spring ClassNotFound异常的java.rmi.UnmarshaleException,java,spring,maven,rmi,spring-bean,Java,Spring,Maven,Rmi,Spring Bean,尝试运行应用程序时,出现以下异常: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoService' defined in class path resource [META-INF/managerBeans.xml]: Invocation of init method failed; nested exception is java.rmi.ServerEx
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repoService' defined in class path resource [META-INF/managerBeans.xml]: Invocation of init method failed; nested exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: org.springframework.remoting.rmi.RmiInvocationWrapper_Stub
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
相关的SpringJAR文件,如spring.jar、spring-core.jar和springbeans.jar
在.m2存储库中可用
使用的弹簧版本为2.5.5
JDK:1.6更新65
马文:3.0.4
操作系统:Mac 10.11.6
不知道这里可能缺少什么
请澄清。谢谢。Beig'available in the.m2 directory'不会将它们放在您的类路径上。经过多次尝试和错误,JDK 1.6U22的相同配置在我的Windows机器上运行。不确定为什么它不能在Mac上运行???@EJP,如果我的eclipse项目在maven依赖项下显示所需的jar文件,这是否意味着jar在类路径上?