JBoss vs Tomcat - StringUtils.isEmpty
I was developing using Tomcat and everything was doing perfect.
Now I switched to JBoss, and when the application reaches the StringUtils.isEmpty code, it finds a Caused by: java.lang.reflect.InvocationTargetException
I tried using the same StringUtils as in the other project, but still didn't work. Both times, it reads a null variable. But tomcat has no problem and jboss do.
Any idea?
JBoss AS 6.0
开发者_JAVA技巧Tomcat 6.0
Could be a library clash. If Tomcat uses the Apache Commons lang utilities, and JBOSS is using something else, you might have a problem.
We really need more information to tell what the problem is.
精彩评论