java.lang.NoClassDefFoundError: com/liferay/portal/PortalException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

Solutions on the web

via hivmr.com by Unknown author, 1 year ago
com/liferay/portal/PortalException
via jpf by nobody
, 1 year ago
com/lsc/inv/properties/IPropertiesModel
via Coderanch by Henry Wong, 1 year ago
GameLauncher (wrong name: com/headfirst/game/GameLauncher)
via Google Groups by Unknown author, 2 months ago
com/sun/jna/platform/win32/Kernel32
via Stack Overflow by Sudipto Dutta
, 2 years ago
com/library/model/MovieDAO (wrong name: MovieDAO)
java.lang.NoClassDefFoundError: com/liferay/portal/PortalException
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at org.apache.geronimo.kernel.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:51)
at org.apache.geronimo.kernel.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:227)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
148 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.