Anyone encounter "java.lang.NoClassDefFoundError: org/apache/ibatis/reflection/ExceptionUtil " such a exception?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Anyone encounter "java.lang.NoClassDefFoundError: org/apache/ibatis/reflection/ExceptionUtil " such a exception?

Kun Wang
hi all,
My webapp got a Exception like below when use mybatis to access database recently :
Exception in thread "Thread-155" java.lang.NoClassDefFoundError: org/apache/ibatis/refle
ction
/ExceptionUtil
        at org
.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSession
Template.java:366)
        at com
.sun.proxy.$Proxy13.selectOne(Unknown Source)
        at org
.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163)
        at org
.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68)
        at org
.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
        at com
.sun.proxy.$Proxy18.selectByPrimaryKey(Unknown Source)
        at car
.w.k.socket.CarSocketServer.offline(CarSocketServer.java:425)
        at car
.w.k.socket.CarSocketServer.access$200(CarSocketServer.java:22)
        at car
.w.k.socket.CarSocketServer$HandlerThread.run(CarSocketServer.java:232)
        at java
.lang.Thread.run(Thread.java:745)


I restarted tomcat and the problem didt display again. But I want to know what makes it happen? 
Thank you very much if you can help me.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Anyone encounter "java.lang.NoClassDefFoundError: org/apache/ibatis/reflection/ExceptionUtil " such a exception?

Kazuki Shimizu
What version are you using?


On Sunday, December 10, 2017 at 2:13:02 PM UTC+9, Kun Wang wrote:
hi all,
My webapp got a Exception like below when use mybatis to access database recently :
Exception in thread "Thread-155" java.lang.NoClassDefFoundError: org/apache/ibatis/refle
ction
/ExceptionUtil
        at org
.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSession
Template.java:366)
        at com
.sun.proxy.$Proxy13.selectOne(Unknown Source)
        at org
.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163)
        at org
.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68)
        at org
.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
        at com
.sun.proxy.$Proxy18.selectByPrimaryKey(Unknown Source)
        at car
.w.k.socket.CarSocketServer.offline(CarSocketServer.java:425)
        at car
.w.k.socket.CarSocketServer.access$200(CarSocketServer.java:22)
        at car
.w.k.socket.CarSocketServer$HandlerThread.run(CarSocketServer.java:232)
        at java
.lang.Thread.run(Thread.java:745)


I restarted tomcat and the problem didt display again. But I want to know what makes it happen? 
Thank you very much if you can help me.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Anyone encounter "java.lang.NoClassDefFoundError: org/apache/ibatis/reflection/ExceptionUtil " such a exception?

Kun Wang
it is 3.2.7  and the spring version is 3.0.3 RELEASE  and mybatis-spring is 1.2.2 .

在 2017年12月11日星期一 UTC+8下午11:17:57,Kazuki Shimizu写道:
What version are you using?


On Sunday, December 10, 2017 at 2:13:02 PM UTC+9, Kun Wang wrote:
hi all,
My webapp got a Exception like below when use mybatis to access database recently :
Exception in thread "Thread-155" java.lang.NoClassDefFoundError: org/apache/ibatis/refle
ction
/ExceptionUtil
        at org
.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSession
Template.java:366)
        at com
.sun.proxy.$Proxy13.selectOne(Unknown Source)
        at org
.mybatis.spring.SqlSessionTemplate.selectOne(SqlSessionTemplate.java:163)
        at org
.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:68)
        at org
.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
        at com
.sun.proxy.$Proxy18.selectByPrimaryKey(Unknown Source)
        at car
.w.k.socket.CarSocketServer.offline(CarSocketServer.java:425)
        at car
.w.k.socket.CarSocketServer.access$200(CarSocketServer.java:22)
        at car
.w.k.socket.CarSocketServer$HandlerThread.run(CarSocketServer.java:232)
        at java
.lang.Thread.run(Thread.java:745)


I restarted tomcat and the problem didt display again. But I want to know what makes it happen? 
Thank you very much if you can help me.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.