Build artifact not work

Answered

Good morning,

I have a problem on program's build antifact. When I compile and run by pront command, Java returned return the error text "I can't find the main class". The program is written correctly because if you compile with the old software, that I used before change on this, the program works without any problems.
I think that the problem is on sqljdbc-42 library (I've also tried with sqljdbc-41), because if I delete that library before build, the program starts.

Could you help me to solve the problems? I think that my mistake is on build's configuration.

Best Reguards

0
1 comment

Please provide the project to reproduce: http://stackoverflow.com/help/mcve.

See this answer for the sample project with the artifact containing other dependencies: http://stackoverflow.com/a/42200519/104891.

0

Please sign in to leave a comment.