开发者

Migrating an EJB project running on JBoss to Websphere Applicataion Server 7

开发者 https://www.devze.com 2023-04-08 12:00 出处:网络
I have a Java EJB project 开发者_运维百科running on JBoss properly.However I have to migrate it to WAS. So I created an EAR then deployed it to WAS. After I tried to run this project on WAS i get this

I have a Java EJB project 开发者_运维百科running on JBoss properly.However I have to migrate it to WAS. So I created an EAR then deployed it to WAS. After I tried to run this project on WAS i get this error:

Error 500: javassist.util.proxy.MethodHandler, [Servlet Error]-[javassist.util.proxy.MethodHandler]: java.lang.NoClassDefFoundError: javassist.util.proxy.MethodHandler

How can I fix this error and run this project on WAS?


It seems you use classes in your application not available on WebSphere, but on JBoss (namely javassist). Get the JAR containing those classes and add it to the EAR.

This is a common Java issue and not related to any application server, NoClassDefFoundError. You must get all classes your application requires during runtime.

Edit: javassist information is available here. Depending on your JBoss and WAS versions you must choose the right version.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号