Cannot run JAX-WS Java Web Service on Apache Tomcat

前端 未结 2 995
说谎
说谎 2021-01-19 03:11

Summary

I\'ve been tasked to write a Java web service to integrate two disparate systems in our enterprise environment. Since I\'m actually an experienced C#.NET

2条回答
  •  再見小時候
    2021-01-19 03:52

    There is problem in deployment of your ws module. U have just copied the whole folder from the MKyoung sample. I doesn't work that way around.

    Not only that now display all the folders and files structure inside the ws module delete the rest of the modules from your post.I wanted only the structure of ws module.

    The module name has to sample instead of com.mkyoung.ws and the structure for it has to be

    **sample**
    ------WEB-INF
    ------index.jsp
    
    WEB-INF
    ----classes
    ----web.xml
    ----sun-jaxws.xml
    
    classes
    ----com
    --------mkyoung
    -----------ws
    ws
    -----Helloworld.class
    -----HeloworldIMPL.class
    

提交回复
热议问题