Why dependencies do not accompany the made package by Maven?

前端 未结 3 1978
悲哀的现实
悲哀的现实 2021-01-27 06:40

I\'ve followed the simplest maven example and made the following pom.xml file:



        
3条回答
  •  执笔经年
    2021-01-27 07:19

    As per exception ClassNotFoundException: org.json.simple.parser.JSONParser the required jar file is not present in classpath.

    In eclipse use below steps:

        Right click on project --> properties --> deployment assembly --> add 
             --> (here select appropriate file system to add jar like)java build path entries
    

    hope it help.

提交回复
热议问题