1. 编辑项目Build Path时出错:
检查Eclipse的进度条(Process),看是不是还在Build和Validate项目(一般出现在刚刚Project Clean之后),在这期间编辑Build Path,OK时会报错。
使用Maven重建了项目依赖之后,记得Refresh之后再编辑Build Path,否则也会报错。
2. Spring StackOverflowError
2015-07-01 20:13:44.001:WARN::failed [email protected]{/,src/main/webapp}: java.lang.StackOverflowError
2015-07-01 20:13:44.001:WARN::Error starting handlers
java.lang.StackOverflowError
at java.lang.System.getProperties(System.java:578)
at com.sun.naming.internal.VersionHelper12$2.run(VersionHelper12.java:93)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.naming.internal.VersionHelper12.getJndiProperties(VersionHelper12.java:89)
at com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:138)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:136)
at org.springframework.jndi.JndiTemplate.getContext(JndiTemplate.java:103)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
at org.springframework.jndi.JndiLocatorDelegate.lookup(JndiLocatorDelegate.java:38)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:77)
at org.springframework.jndi.JndiLocatorDelegate.lookup(JndiLocatorDelegate.java:33)