RE: [Vif-devel] Eclipse set up
Brought to you by:
aktion-hip
|
From: Luthiger S. B. <ben...@id...> - 2006-01-27 14:51:48
|
Dear Jacek Know I understand what you've said, although not what's the cause of the = problem :-( You're absolutely correct: the classes you note have to be imported. = What's worrying me is that in the class = org.hip.kernel.servlet.impl.AbstractRequestHandler in my IDE (and also = in the one in the CVS, see = http://cvs.sourceforge.net/viewcvs.py/vif/VIF%20Framework/org/hip/kernel/= servlet/impl/AbstractRequestHandler.java?rev=3D1.13&view=3Dauto) I see = these import statements. I wild guess: could it be that the CVS checkout missed some lines of = code? In this case, you should try to check out again. Hope that helps, Benno > -----Original Message----- > From: Jacek Obarymski [mailto:jac...@po...] > Sent: Freitag, 27. Januar 2006 12:42 > To: Luthiger Stoll Benno; vif...@li... > Subject: ODP: [Vif-devel] Eclipse set up >=20 >=20 > Yes I've noticed that and added refernces to servlet.jar=20 > 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. >=20 > If I add the following imports those errors disapear. >=20 > import javax.servlet.http.HttpServletRequest; > import javax.servlet.http.HttpServletResponse; > import javax.servlet.ServletException; >=20 > 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=20 > previuos mails. >=20 > Maybe this question result from my lack of experience in java=20 > / eclipse > projects but the answer could help me to understand better=20 > what's going on > in the project.=20 >=20 > Jacek >=20 >=20 > > -----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=20 > variable 'SERVLET' > > to reference the servlert.jar. In my installation this=20 > variable point to > > the sevlet.jar deployed with the tomcat installation, i.e. > > TOMCAT_HOME\common\lib\servlet.jar. I also defined a=20 > classpath variable > > 'MYSQL' referencing the jdbc drivers' class library. You=20 > can point this > > variable to=20 > vifapp/WEB-INF/lib/mysql-connector-java-3.0.11-stable-bin.jar. > > After having included these variables/jar-files, the=20 > compile errors should > > go away. > >=20 > > Please don't forget to create your CVS branch befor you=20 > 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=20 > the following > > > imports the errors disapear (those imports occur in=20 > 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=20 > error list maybe > > > you can figure something out. > > > > > > > > > Jacek >=20 >=20 |