This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 245643 - Error marker on ejb-jar.xml after creating XDoclet bean.
Summary: Error marker on ejb-jar.xml after creating XDoclet bean.
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.validation (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: wst.validation CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-29 03:41 EDT by kiril mitov CLA
Modified: 2008-11-12 15:19 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kiril mitov CLA 2008-08-29 03:41:14 EDT
Executing smoke test for build
http://build.eclipse.org/webtools/committers/wtp-R3.0-M/20080828055051/M-3.0.2-20080828055051/ 

Smoke test located at 
http://wiki.eclipse.org/WTP_Smoke_Test_Results_R302_082808 

1.Set up the environment as described in the smoke test.
2.Create an ear 1.4 project.
3.Create a new ejb 2.1 project. Configuration is "EJB project with XDoclet". Click on the "Add project to ear" and chose the ear project from step 1.
4.Create a new XDoclet session bean - described in the smoke test.

After the bean is created there is an error marker over the ejb-jar.xml with problems described in the problems view:

Description	Resource	Path	Location	Type
CHKJ2800E: <local> interface d.MyLocal, or one of its supertypes, cannot be reflected. Check the classpath.	ejb-jar.xml	ee/ejbModule/META-INF	Enterprise bean: My	EJB Validator Message

Description	Resource	Path	Location	Type
CHKJ2803E: <home> interface d.MyHome, or one of its supertypes, cannot be reflected. Check the classpath.	ejb-jar.xml	ee/ejbModule/META-INF	Enterprise bean: My	EJB Validator Message

Description	Resource	Path	Location	Type
CHKJ2804E: <remote> interface d.My, or one of its supertypes, cannot be reflected. Check the classpath.	ejb-jar.xml	ee/ejbModule/META-INF	Enterprise bean: My	EJB Validator Message

Description	Resource	Path	Location	Type
CHKJ2805E: <local-home> interface d.MyLocalHome, or one of its supertypes, cannot be reflected. Check the classpath.	ejb-jar.xml	ee/ejbModule/META-INF	Enterprise bean: My	EJB Validator Message

After explicitly validating the ejb project using Properties->Validate over the project the errors disappear.
Comment 1 Gary Karasiuk CLA 2008-09-29 08:59:14 EDT
I can't tell, is this still a problem? or has this been fixed via bug 245645
Comment 2 kiril mitov CLA 2008-10-07 17:14:34 EDT
(In reply to comment #1)
> I can't tell, is this still a problem? or has this been fixed via bug 245645
> 

In bug 245645 the create project was EJB 3.0 while in this bug in is EJB 2.1. 

But it is true that the error was not reproduced in the few last builds.
Comment 3 Gary Karasiuk CLA 2008-11-12 15:19:06 EST
Sounds like this is no longer happenning.