org.apache.commons.lang.text.StrLookup缺失

 

遇到上述问题,莫急,估计你已经添加过common-lang 包,但是还是不行

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup
	at com.zz.dataAccess.Properties.main(Properties.java:10)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.text.StrLookup
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
	... 1 more

原因是因为你添加的lang包就没有引入这个包,嘿嘿

移步http://commons.apache.org/lang/下载比较新2.x的版本就ok了

你可能感兴趣的:(thread,exception)