![]() You'll need to find the appropriate Maven coordinates for the JAR containing and add them to your project's dependencies. In this manner, when the application is deployed, it will be added to the classpath.Īlternatively, if you are using Maven or another build tool, you can add the dependency to your project's configuration file (pom.xml for Maven) to automatically include the required JAR file during the build process. You may find the JAR file containing this class and add it to your JSF application's WAR file's WEB-INF/lib directory. Include the relevant JAR file containing the class in your application's classpath as a potential workaround. The needed dependency is missing from your application's classpath, which leads to this error. When using JOL to determine the size of HttpSession objects, the problem with the NoClassDefFoundError that you're encountering is caused by the absence of the class. By inspecting the sessions, you will know what kind of objects occupy too much heap. You will have the exact image of your heap when the OutOfMemoryError occurs. It's the best way to get an accurate heap dump.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |