Troubleshooting
Problem
IBM Rational Application Developer for WebSphere Software reports ClassCastExceptions in a popup window at startup, or in the Error log when trying to perform Java EE related tasks, such as adding modules to an EAR, configuring Utility modules or setting Module Dependencies. These errors prevent you from compiling or building your projects.
Symptom
Java EE related tasks fail, and error messages similar to the following are seen in the workspace and or Error logs:
java.lang.ClassCastException: org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to org.eclipse.jst.javaee.application.Application
If you are using Maven to import projects, the error message may look like this:
!ENTRY org.eclipse.core.jobs
!MESSAGE An internal error occurred during: "Updating Maven Configuration".
!STACK 0
java.lang.ClassCastException: org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl incompatible with org.eclipse.jst.javaee.application.Application
at org.maven.ide.eclipse.wtp.EarProjectConfiguratorDelegate.updateLibDir(Unknown Source)
at
org.maven.ide.eclipse.wtp.EarProjectConfiguratorDelegate.setModuleDependencies(Unknown Source)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
More support for:
Rational Application Developer for WebSphere Software
Software version:
8.0, 7.5.5
Operating system(s):
Windows
Document number:
154669
Modified date:
16 June 2018
UID
swg21474288