将myeclipse的web项目导入IDEA中报错

原因: 在myeclipse中是基于JAX-WS的项目,导入IDEA中就缺包

解决办法:将下图中的相关jar包导入即可

java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListener

具体对应在myeclipse中的位置 可查看jar的位置

工程上右键-》properties-》java build path -》 add libraries -》 选myeclipse libraries -》next 拉到最后选择最后两个库(jax-ws runtime 和 jax-ws api)。

 

java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListener

相关文章:

  • 2021-11-18
  • 2022-01-12
  • 2021-06-13
  • 2021-07-12
  • 2021-11-26
  • 2021-11-24
  • 2021-09-29
猜你喜欢
  • 2021-07-18
  • 2022-12-23
  • 2021-12-08
相关资源
相似解决方案