A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component .
前面那位同學的方法解決不了的時候可以換用jetty
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component .
前面那位同學的方法解決不了的時候可以換用jetty
2017-07-23
不能自動裝配,不懂怎么回事Description:
A component required a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' that could not be found.
Action:
Consider defining a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' in your configuration.
A component required a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' that could not be found.
Action:
Consider defining a bean of type 'com.meven.demo.MavenDemo.MavenDemoProperties' in your configuration.
2017-07-22
已采納回答 / a7564951
Girl告訴JpaRepository,我操作的對象和表是girl;Integer告訴JpaTepository,表girl的主鍵id的類型是 Int;這樣JpaRepository才能知道你要操作的是那張表;比如以后可能會有boy表什么的
2017-07-21
@Value("${server.cupSize}"),value里要這樣寫,不然真的報錯,感謝zyxailgq層主分享,讓更多的人看到,免得出錯找半天bug
2017-07-21
求助 我在POM里面加上了jpa和mysql的依賴包后 啟動出現
2017-07-20 13:09:32.962 WARN 23176 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt:
2017-07-20 13:09:32.962 WARN 23176 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt:
2017-07-20
簡直太酷了。那些右鍵不能run的小伙伴,可以open module setting,設置下resource目錄啥的就好了
2017-07-19