qq_39629592
z799
2017-11-07 08:08

启动项目失败,java -jar命令时编译失败!!

  • java

F:\xm\beimigame\target>java -jar beimi-0.7.0.war

. ____ _ __ _ _
/\ / ' __ _ ()_ __ __ _ \ \ \ \
( ( )\
_ | '_ | '_| | '_ \/ ` | \ \ \ \
\/ _
_)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |___, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.6.RELEASE)

2017-11-07 16:08:03.344 [main] INFO com.beimi.Application - Starting Applicatio
n v0.7.0 on T16O00SKIJDNHL4 with PID 8576 (F:\xm\beimigame\target\beimi-0.7.0.wa
r started by Administrator in F:\xm\beimigame\target)
2017-11-07 16:08:03.351 [main] INFO com.beimi.Application - No active profile s
et, falling back to default profiles: default
2017-11-07 16:08:04.038 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplic
ationContext - Refreshing org.springframework.boot.context.embedded.AnnotationCo
nfigEmbeddedWebApplicationContext@c57293: startup date [Tue Nov 07 16:08:04 CST
2017]; root of context hierarchy
2017-11-07 16:08:04.158 [background-preinit] INFO org.hibernate.validator.inter
nal.util.Version - HV000001: Hibernate Validator 5.3.5.Final
2017-11-07 16:08:07.993 [main] ERROR org.springframework.boot.SpringApplication

  • Application startup failed java.lang.UnsupportedClassVersionError: org/kie/api/builder/KieFileSystem : Unsu pported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 2) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(Laun chedURLClassLoader.java:94) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.springframework.util.ClassUtils.forName(ClassUtils.java:250) at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getB eanNamesForType(OnBeanCondition.java:172) at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getM atchingBeans(OnBeanCondition.java:139) at org.springframework.boot.autoconfigure.condition.OnBeanCondition.getM atchOutcome(OnBeanCondition.java:110) at org.springframework.boot.autoconfigure.condition.SpringBootCondition. matches(SpringBootCondition.java:47) at org.springframework.context.annotation.ConditionEvaluator.shouldSkip( ConditionEvaluator.java:102) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader .java:178) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefiniti onReader.java:140) at org.springframework.context.annotation.ConfigurationClassBeanDefiniti onReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:116) at org.springframework.context.annotation.ConfigurationClassPostProcesso r.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:320) at org.springframework.context.annotation.ConfigurationClassPostProcesso r.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:228) at org.springframework.context.support.PostProcessorRegistrationDelegate .invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.ja va:270) at org.springframework.context.support.PostProcessorRegistrationDelegate .invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:93) at org.springframework.context.support.AbstractApplicationContext.invoke BeanFactoryPostProcessors(AbstractApplicationContext.java:687) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:525) at org.springframework.boot.context.embedded.EmbeddedWebApplicationConte xt.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication. java:693) at org.springframework.boot.SpringApplication.refreshContext(SpringAppli cation.java:360) at org.springframework.boot.SpringApplication.run(SpringApplication.java :303) at com.beimi.Application.main(Application.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner .java:48) at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)

2017-11-07 16:08:08.002 [main] INFO o.s.b.c.e.AnnotationConfigEmbeddedWebApplic
ationContext - Closing org.springframework.boot.context.embedded.AnnotationConfi
gEmbeddedWebApplicationContext@c57293: startup date [Tue Nov 07 16:08:04 CST 201
7]; root of context hierarchy
2017-11-07 16:08:08.006 [main] WARN o.s.b.c.e.AnnotationConfigEmbeddedWebApplic
ationContext - Exception thrown from LifecycleProcessor on context close
java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refr
esh' before invoking lifecycle methods via the context: org.springframework.boot
.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@c57293: startup
date [Tue Nov 07 16:08:04 CST 2017]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getLif
ecycleProcessor(AbstractApplicationContext.java:427)
at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:999)
at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:958)
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApp
lication.java:750)
at org.springframework.boot.SpringApplication.run(SpringApplication.java
:314)
at com.beimi.Application.main(Application.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner
.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)

2017-11-07 16:08:08.009 [main] ERROR o.s.b.factory.support.DefaultListableBeanFa
ctory - Destroy method on bean with name 'org.springframework.boot.autoconfigure
.internalCachingMetadataReaderFactory' threw an exception
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c
all 'refresh' before multicasting events via the context: org.springframework.bo
ot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@c57293: startu
p date [Tue Nov 07 16:08:04 CST 2017]; root of context hierarchy
at org.springframework.context.support.AbstractApplicationContext.getApp
licationEventMulticaster(AbstractApplicationContext.java:414)
at org.springframework.context.support.ApplicationListenerDetector.postP
rocessBeforeDestruction(ApplicationListenerDetector.java:97)
at org.springframework.beans.factory.support.DisposableBeanAdapter.destr
oy(DisposableBeanAdapter.java:253)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.destroyBean(DefaultSingletonBeanRegistry.java:578)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.destroySingleton(DefaultSingletonBeanRegistry.java:554)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
destroySingleton(DefaultListableBeanFactory.java:961)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.destroySingletons(DefaultSingletonBeanRegistry.java:523)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.
destroySingletons(FactoryBeanRegistrySupport.java:230)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.
destroySingletons(DefaultListableBeanFactory.java:968)
at org.springframework.context.support.AbstractApplicationContext.destro
yBeans(AbstractApplicationContext.java:1030)
at org.springframework.context.support.AbstractApplicationContext.doClos
e(AbstractApplicationContext.java:1006)
at org.springframework.context.support.AbstractApplicationContext.close(
AbstractApplicationContext.java:958)
at org.springframework.boot.SpringApplication.handleRunFailure(SpringApp
lication.java:750)
at org.springframework.boot.SpringApplication.run(SpringApplication.java
:314)
at com.beimi.Application.main(Application.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

6条回答