我按照教程的做法,在ecplise中,启动服务器,这时是可以运行自己制作的扩展包的。是可以运行的!是可以运行的!
但是当我把扩展包ext文件上传到实际使用的服务端当中,就一直无法启动。已经重启了很多遍,清空过cookie,始终无法启动。会有如下报错: at smartbi.framework.rmi.ClientService.executeInternal(ClientService.java:222) at ...(...) at smartbi.extension.spring.SmartbiListableBeanFactory.applyPropertyValues(SmartbiListableBeanFactory.java:32) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'framework' defined in InputStream resource [resource loaded through InputStream]: Cannot resolve reference to bean 'XSIDModule' while setting bean property 'modules' with key [TypedStringValue: value [XSIDModule], target type [null]]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [smartbi.soul.XSIDModule] for bean with name 'XSIDModule' defined in InputStream resource [resource loaded through InputStream]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: smartbi/soul/XSIDModule has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.lambda$resolveManagedMap$1(BeanDefinitionValueResolver.java:453) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) at
这是怎么回事呀。。。 |