Closed atharvjoshi closed 6 years ago
How do you added the jar to your project? maven, gradle? by hand?
@atharvjoshi is your problem solved?
I've built a Servlet-based project using the jar and encontered the same issue when redeploing the project on apache Tomcat. Cleaning/restarting solved it, but it's a bit of hurdle doing it every time you change something in a class. No problems in jetty, btw.
I have the same problem, I've packaged the project by mvn package. but when I run it this exception throws.
@MortezaTaghaddomi99 Are you setting the classpath so you have all the jar libraries availables?
i have the same problem. Not solved?
The same problem. I've already broken my whole head - I can't decide in any way. Everything is according to the instructions from the Maven documentation, but it does not work.
Hello. When I try to execute my jar file, it does not execute and gives the following error message:
Error: Unable to initialize main class Main Caused by: java.lang.NoClassDefFoundError: org/telegram/telegrambots/exceptions/TelegramApiException
How to work around this issue? Thanks.