[jboss-user] [Installation, Configuration & Deployment] - Re: basic 4.2 deploy and missing javax.servlet files

wiggy do-not-reply at jboss.com
Fri May 18 19:36:53 EDT 2007


so nearly there.

went to site mentioned at download the org.eclipse.jst.server.jboss.ejb3_1.5.0.v200705171400.jar  file which turns out to be a zip file.  Heigh ho, i went into my eclipse plugins and created a dir with the same name as the zip file.  I then extracted the zip file into the directory just created and restart eclipse - clean.

brilliant now i get the extra server defns.  I created a new 4.2 server and start it - it comes up clean.  wonderful.

Then i have a problem.  I create a new dynamic web project and point it at the new server.  it fails to compile with errors

anonymous wrote : 
  | Severity and Description	Path	Resource	Location	Creation Time	Id
  | Project my is missing required library: 'E:\jboss\jboss-4.2.0.GA\client\javax.servlet.jar'		my	Build path	1179529310630	2006
  | Project my is missing required library: 'E:\jboss\jboss-4.2.0.GA\server\default\lib\javax.servlet.jsp.jar'		my	Build path	1179529310630	2005
  | 

the libraries are pointed to the wrong named files.  

when i open the project and look at the build library paths i get the following 

jboss runtimes (wst:2.4) which if you open it shows the javax.servlet.jsp.jar, and javax.servlet.jar - which are not the latest names in the 4.2 files list.  

I dont know where this bit of config is to change it.  If you try and edit the runtimes section it shows 
anonymous wrote : 
  | org.jboss.ide.eclipse.as.core.runtime.ProjectInitializer/JBOSS 4.2 EJB3/jst.web/2.4
  | 

where is this?  

very close but not quite there.  I thought it might be in the serverdef file in the plugins dir however that correctly shows 

anonymous wrote : 
  | 	
  | 		
  | 		
  |  		
  | 		
  | 		<!--JBoss specific annotations like "SecurityDomain". -->
  | 		
  | 		
  | 		
  | 		<!--The J2EE5 AppClient needs more JARs for startup-->
  | 		<!--  -->
  | 		
  | 		
  | 
  | 		<!--Hibernate Exceptions might come into the application client. For catching them we need this jar. 
  | 		-->
  | 		
  | 		<!--For usage of Hibernate those JARs might be required -->
  | 		
  | 		
  | 		
  | 
  | 		
  | 		
  | 		
  | 		
  | 	
  | 

with the new files correct 

any ideas???

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046957#4046957

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046957



More information about the jboss-user mailing list