Cannot publish an EAR to JBoss 6.1 server on JBDS 7,
Issue
When publish/clean, this message shows up and publishing can't be completed.
Could not publish to the server.
org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to org.eclipse.jst.javaee.application.Application
Steps to reproduce:
- Create a simple JEE6 EAR project, and add application.xml to META-INF
- Add lib folder to project containing a jar.
- Right-click project and select Properties, then Deployment Assembly
- Add the lib folder to the list.
- Select OK and receive this message:
An internal error occurred during: "Updating status for JBoss EAP 6.1.0 Runtime Server...".
org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to org.eclipse.jst.javaee.application.Application
Environment
- Red Hat JBoss Developer Studio (JBDS)
- 7.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.