need to add the paths into the build file under <target name="classpath">
shuchi sent the following on 5/26/2009 1:18 PM: > I added a new java class and I think there I am getting the error. > > I looked at the compiler at it gives following error messages. > > ************************************************************* > [javac] Compiling 1 source file to > C:\workspace\ofbiz4.0\framework\testtools\build\classes > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:4: > package javax.servlet.http does not exist > [javac] import javax.servlet.http.HttpServletRequest; > [javac] ^ > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:5: > package javax.servlet.http does not exist > [javac] import javax.servlet.http.HttpServletResponse; > [javac] ^ > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:6: > package org.ofbiz.party.contact does not exist > [javac] import org.ofbiz.party.contact.ContactMechWorker; > [javac] ^ > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:11: > cannot find symbol > [javac] symbol : class HttpServletRequest > [javac] location: class org.ofbiz.learning.learning.LearningEvents > [javac] public static String postalAddressAdvisory(HttpServletRequest > [javac] ^ > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:12: > cannot find symbol > [javac] symbol : class HttpServletResponse > [javac] location: class org.ofbiz.learning.learning.LearningEvents > [javac] request, HttpServletResponse response){ > [javac] ^ > [javac] > C:\workspace\ofbiz4.0\framework\testtools\src\org\ofbiz\learning\learning\LearningEvents.java:15: > cannot find symbol > [javac] symbol : variable ContactMechWorker > [javac] location: class org.ofbiz.learning.learning.LearningEvents > [javac] > ContactMechWorker.getContactMechAndRelated(request, partyId, > [javac] ^ > [javac] 6 errors > ******************************************************************** > > I am not sure what this errors are pointing at. > > Your help is really appreciated. > > Thank you. -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.