亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Hibernate出現這個wa是什么情況?

Hibernate出現這個wa是什么情況?

郭影 2016-09-27 20:33:34
WARN: HHH000277: Could not bind factory to JNDIorg.hibernate.service.jndi.JndiException: Error parsing JNDI name []?? ?at org.hibernate.service.jndi.internal.JndiServiceImpl.parseName(JndiServiceImpl.java:92)?? ?at org.hibernate.service.jndi.internal.JndiServiceImpl.bind(JndiServiceImpl.java:108)?? ?at org.hibernate.internal.SessionFactoryRegistry.addSessionFactory(SessionFactoryRegistry.java:89)?? ?at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:480)?? ?at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1790)?? ?at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1861)?? ?at Testdemo.init(Testdemo.java:18)?? ?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)?? ?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)?? ?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)?? ?at java.lang.reflect.Method.invoke(Method.java:498)?? ?at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)?? ?at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)?? ?at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)?? ?at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)?? ?at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)?? ?at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)?? ?at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)?? ?at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)?? ?at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)?? ?at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)?? ?at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)?? ?at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)?? ?at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)?? ?at org.junit.runners.ParentRunner.run(ParentRunner.java:300)?? ?at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)?? ?at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)?? ?at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:? java.naming.factory.initial?? ?at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)?? ?at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)?? ?at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:350)?? ?at javax.naming.InitialContext.getNameParser(InitialContext.java:505)?? ?at org.hibernate.service.jndi.internal.JndiServiceImpl.parseName(JndiServiceImpl.java:86)?? ?... 30 more
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 1431 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號