[
https://jira.jboss.org/jira/browse/JBIDE-5646?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-5646:
--------------------------------------
Max,
I don't know if this is a tooling or runtime issue. The photoalbum application can be
deployed using the maven command line, but can't be deployed using JBoss Tools due to
the incompatibility between m2eclipse and WTP.
Namely, the photoalbum application doesn't define any version of the EAR plugin. The
default value is 1.3 and the m2eclipse wtp plugin creates the EAR facet of the 1.3
version. The web project within the photoalbum application defines a web project version
2.5 (see web.xml) which causes CCE described in this jira.
The fix is simple. The photoalbum application has to declare the 5 version in the
configuration section of the maven-ear-plugin.
For the testing purpose, you can import the application, add the 5 version to the
configuration section of the maven-ear-plugin in the EAR's pom.xml and call
Maven>Update Project Configuration on the EAR project. CCE will dissapear.
There are some more issues that are described in
http://old.nabble.com/Importing-the-photoalbum-maven-application-to-m2ecl....
Maxim,
there isn't m2eclipse 1.0. The instructions I described are valid for the latest
version of m2eclipse (0.9.9.200912160759).
I don't think this is an Eclipse bug because the EAR project of the photoalbum
application is of the 5 version which isn't declared.
Publishing to JBOSS AS 5.1 threw ClassCastException
---------------------------------------------------
Key: JBIDE-5646
URL:
https://jira.jboss.org/jira/browse/JBIDE-5646
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.1.0.CR2
Reporter: Maxim Areshkau
Assignee: Rob Stryker
Priority: Critical
Fix For: 3.1.0.CR2
Attachments: JBOSS_AS_Publish_Exception.png
When I have try to run rich faces demo photo album application, an error has thrown,
org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to
org.eclipse.jst.javaee.application.Application
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira