This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 173736

Summary: Session bean created with errors in JavaEE6 web app
Product: javaee Reporter: Jaroslav Pospisil <jpospisil>
Component: MavenAssignee: Milos Kleint <mkleint>
Status: VERIFIED FIXED    
Severity: blocker CC: anebuzelsky, kganfield, mkuchtiak, mmirilovic
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173743    

Description Jaroslav Pospisil 2009-10-05 10:52:09 UTC
latest Beta , Win Vista, JDK1.6.0_16

Create new JavaEE6 Maven Web Application and add Session bean.
Bean is created with errors,since it doesn't know javax.ejb package and when I invoke Insert Code action,as suggested in
javadoc, there's missing Add Bussiness Method action.
Comment 1 Jaroslav Pospisil 2009-10-05 12:47:00 UTC
The same problem occurs,when create Servlet in JavaEE6 maven web application. 
Problem seems to be caused by error on repository side. Both libraries reported missing by IDE, were updated 2/10/2009
and seems to be,that update went wrong,since they have bad size. 
Comment 2 Milos Kleint 2009-10-05 13:02:31 UTC
The problem is in the data currently present in the java.net M2 repository.
http://download.java.net/maven/2/javax/javaee-web-api/
the jar shrinked from 900k to 180k on Oct 2, missing many j2ee API. that same applies to the javaee-api jar (for the
full profile)

There is nothing we can do in netbeans alone, I will alert the glassfish people ASAP and will keep the issue opened
until it's resolved.
Comment 3 Milos Kleint 2009-10-05 13:44:17 UTC
-> P1
Comment 4 Antonin Nebuzelsky 2009-10-05 20:02:43 UTC
Fixed on GF side now.
Comment 5 Jaroslav Pospisil 2009-10-12 15:24:04 UTC
v.