今天进行ssh框架整合包都没问题突然出现这个问题求大神们看看是哪个错误
org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class []
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
07:18:21.800 [main] ERROR org.hibernate.internal.SessionFactoryImpl - HHH000302: Unable to construct current session context []
org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class []
at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:229) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.hibernate.internal.SessionFactoryImpl.buildCurrentSessionContext(SessionFactoryImpl.java:1231) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:480) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:708) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372) ~[spring-orm-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454) ~[spring-orm-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439) ~[spring-orm-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:757) ~[spring-beans-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861) ~[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541) ~[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:128) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:108) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:251) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:98) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:116) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:230) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:228) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) ~[junit-4.11.jar:?]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:247) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE]
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) ~[junit-4.11.jar:?]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) ~[junit-4.11.jar:?]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) ~[junit-4.11.jar:?]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) ~[junit-4.11.jar:?]
at org.junit.runners.ParentRunner
2.
e
v
a
l
u
a
t
e
(
P
a
r
e
n
t
R
u
n
n
e
r
.
j
a
v
a
:
229
)
[
j
u
n
i
t
−
4.11.
j
a
r
:
?
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
t
e
s
t
.
c
o
n
t
e
x
t
.
j
u
n
i
t
4.
s
t
a
t
e
m
e
n
t
s
.
R
u
n
B
e
f
o
r
e
T
e
s
t
C
l
a
s
s
C
a
l
l
b
a
c
k
s
.
e
v
a
l
u
a
t
e
(
R
u
n
B
e
f
o
r
e
T
e
s
t
C
l
a
s
s
C
a
l
l
b
a
c
k
s
.
j
a
v
a
:
61
)
[
s
p
r
i
n
g
−
t
e
s
t
−
4.3.2.
R
E
L
E
A
S
E
.
j
a
r
:
4.3.2.
R
E
L
E
A
S
E
]
a
t
o
r
g
.
s
p
r
i
n
g
f
r
a
m
e
w
o
r
k
.
t
e
s
t
.
c
o
n
t
e
x
t
.
j
u
n
i
t
4.
s
t
a
t
e
m
e
n
t
s
.
R
u
n
A
f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
n
e
r
E
x
e
c
u
t
o
r
.
j
a
v
a
:
39
)
[
o
r
g
.
j
u
n
i
t
.
v
i
n
t
a
g
e
.
e
n
g
i
n
e
5
.
1.0.
v
20180327
−
1502.
j
a
r
:
5.1.0
]
a
t
j
a
v
a
.
u
t
i
l
.
s
t
r
e
a
m
.
F
o
r
E
a
c
h
O
p
s
2.evaluate(ParentRunner.java:229) ~[junit-4.11.jar:?] at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.junit.runners.ParentRunner.run(ParentRunner.java:309) ~[junit-4.11.jar:?] at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) ~[spring-test-4.3.2.RELEASE.jar:4.3.2.RELEASE] at org.junit.runner.JUnitCore.run(JUnitCore.java:160) ~[junit-4.11.jar:?] at org.junit.runner.JUnitCore.run(JUnitCore.java:138) ~[junit-4.11.jar:?] at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:39) ~[org.junit.vintage.engine_5.1.0.v20180327-1502.jar:5.1.0] at java.util.stream.ForEachOps
2.evaluate(ParentRunner.java:229) [junit−4.11.jar:?]atorg.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring−test−4.3.2.RELEASE.jar:4.3.2.RELEASE]atorg.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring−test−4.3.2.RELEASE.jar:4.3.2.RELEASE]atorg.junit.runners.ParentRunner.run(ParentRunner.java:309) [junit−4.11.jar:?]atorg.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191) [spring−test−4.3.2.RELEASE.jar:4.3.2.RELEASE]atorg.junit.runner.JUnitCore.run(JUnitCore.java:160) [junit−4.11.jar:?]atorg.junit.runner.JUnitCore.run(JUnitCore.java:138) [junit−4.11.jar:?]atorg.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:39) [org.junit.vintage.engine5.1.0.v20180327−1502.jar:5.1.0]atjava.util.stream.ForEachOpsForEachOp$OfRef.accept(Unknown Source) [?:1.8.0_211]
at java.util.stream.ReferencePipeline$3
1.
a
c
c
e
p
t
(
U
n
k
n
o
w
n
S
o
u
r
c
e
)
[
?
:
1.8.
0
2
11
]
a
t
j
a
v
a
.
u
t
i
l
.
I
t
e
r
a
t
o
r
.
f
o
r
E
a
c
h
R
e
m
a
i
n
i
n
g
(
U
n
k
n
o
w
n
S
o
u
r
c
e
)
[
?
:
1.8.
0
2
11
]
a
t
j
a
v
a
.
u
t
i
l
.
S
p
l
i
t
e
r
a
t
o
r
s
1.accept(Unknown Source) [?:1.8.0_211] at java.util.Iterator.forEachRemaining(Unknown Source) [?:1.8.0_211] at java.util.Spliterators
1.accept(UnknownSource)[?:1.8.0211]atjava.util.Iterator.forEachRemaining(UnknownSource)[?:1.8.0211]atjava.util.SpliteratorsIteratorSpliterator.forEachRemaining(Unknown Source) [?:1.8.0_211]
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) [?:1.8.0_211]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) [?:1.8.0_211]
at java.util.stream.ForEachOps
F
o
r
E
a
c
h
O
p
.
e
v
a
l
u
a
t
e
S
e
q
u
e
n
t
i
a
l
(
U
n
k
n
o
w
n
S
o
u
r
c
e
)
[
?
:
1.8.
0
2
11
]
a
t
j
a
v
a
.
u
t
i
l
.
s
t
r
e
a
m
.
F
o
r
E
a
c
h
O
p
s
ForEachOp.evaluateSequential(Unknown Source) [?:1.8.0_211] at java.util.stream.ForEachOps
ForEachOp.evaluateSequential(UnknownSource)[?:1.8.0211]atjava.util.stream.ForEachOpsForEachOp$OfRef.evaluateSequential(Unknown Source) [?:1.8.0_211]
at java.util.stream.AbstractPipeline.evaluate(Unknown Source) [?:1.8.0_211]
at java.util.stream.ReferencePipeline.forEach(Unknown Source) [?:1.8.0_211]
at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:79) [org.junit.vintage.engine_5.1.0.v20180327-1502.jar:5.1.0]
at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:70) [org.junit.vintage.engine_5.1.0.v20180327-1502.jar:5.1.0]
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:170) [org.junit.platform.launcher_1.1.0.v20180327-1502.jar:1.1.0]
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:154) [org.junit.platform.launcher_1.1.0.v20180327-1502.jar:1.1.0]
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:90) [org.junit.platform.launcher_1.1.0.v20180327-1502.jar:1.1.0]
at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:86) [.cp/:?]
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) [.cp/:?]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538) [.cp/:?]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760) [.cp/:?]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460) [.cp/:?]
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206) [.cp/:?]
Caused by: java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method) ~[?:1.8.0_211]
at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_211]
at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.classForName(ClassLoaderServiceImpl.java:226) ~[hibernate-core-5.0.7.Final.jar:5.0.7.Final]
… 68 more
也不知是那错误麻烦帮看看