ODP: [Vif-devel] Eclipse set up
Brought to you by:
aktion-hip
|
From: Jacek O. <jac...@po...> - 2006-01-27 11:43:29
|
Yes I've noticed that and added refernces to servlet.jar yesterday but = like I said the classes you use are not being imported. For example in the AbstractRequestHandler.java file=20 (VIF Framework/org/hip/kernel/servlet/impl)=20 I have some errors concerning HttpServletRequest, HttpServletResponse, ServletException classes. If I add the following imports those errors disapear. import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.ServletException; Why don't you place these imports in this file? Should the imports be 'inherited' from some other package/project?=20 I've set all the project and references you wrote in the previuos mails. Maybe this question result from my lack of experience in java / eclipse projects but the answer could help me to understand better what's going = on in the project.=20 Jacek > -----Wiadomo=B6=E6 oryginalna----- > Od: vif...@li... [mailto:vif-devel- > ad...@li...] W imieniu Luthiger Stoll Benno > Wys=B3ano: 27 stycznia 2006 12:13 > Do: vif...@li... > Temat: RE: [Vif-devel] Eclipse set up >=20 > Dear Jacek >=20 > I forgot to mention that I've created another classpath variable = 'SERVLET' > to reference the servlert.jar. In my installation this variable point = to > the sevlet.jar deployed with the tomcat installation, i.e. > TOMCAT_HOME\common\lib\servlet.jar. I also defined a classpath = variable > 'MYSQL' referencing the jdbc drivers' class library. You can point = this > variable to = vifapp/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar. > After having included these variables/jar-files, the compile errors = should > go away. >=20 > Please don't forget to create your CVS branch befor you start coding. >=20 > Greetings, > Benno >=20 >=20 > > -----Original Message----- > > From: vif...@li... > > [mailto:vif...@li...]On Behalf Of > > Jacek Obarymski > > Sent: Freitag, 27. Januar 2006 00:50 > > To: VIF Devel Mailinglist (E-mail) > > Subject: Re[2]: [Vif-devel] Eclipse set up > > > > > > Hello, > > > > I've checked oud project once again and the problem didn't occur. > > > > But I have a lot of build errors probably because of lack of the > > library references. > > > > For example in the file AbstractRequestHandler.java: > > > > HttpServletResponse cannot be resolved to a type > > AbstractRequestHandler.java VIF > > Framework/org/hip/kernel/servlet/impl line 245 > > request cannot be resolved ServletRequestInspector.java > > VIF Framework/org/hip/kernel/servlet/impl line 83 27 > > stycze=F1 2006 00:19:37 48836 > > ServletException cannot be resolved to a type > > AbstractRequestHandler.java VIF > > Framework/org/hip/kernel/servlet/impl line 116 > > 27 stycze=F1 2006 00:29:11 49300 > > > > etc... (lots of similar errors) > > > > Its probably due to lack of library references. If I add the = following > > imports the errors disapear (those imports occur in comments but = don't > > occur in the package source, why?): > > > > > > import javax.servlet.http.HttpServletRequest; > > import javax.servlet.http.HttpServletResponse; > > import javax.servlet.ServletException; > > > > I get about 98 similar errors and probably I've made some mistakes > > during eclipse setup. If you want I can send you the error list = maybe > > you can figure something out. > > > > > > Jacek |