java - Tomcat7 can't find classes in WEB-INF/lib/lookHere.jar -


very weird problem tomcat7.

i migrated data objects out of web app , jar file. everythings works fine when deploy tomcat7 on local development machine. however, when try deploy same code test, tomcat cannot find data object classes have been migrated jar file. don’t understand why happening. it’s if tomcat still expecting find data object in web app , therefore isn’t bothering in jar file.

does know way force tomcat in web-inf/lib/lookhere.jar class files not finding?

i’ve tried clearing working directory no avail.

here’s example of kind of errors i’m getting when try invoke servlet utilizes 1 of these data objects:

example 1:

root cause java.lang.error: unresolved compilation problems:      import com.alpine.data.http.image cannot resolved     postimageresponse cannot resolved type     postimageresponse cannot resolved type</pre> 

but class there in jar file ...

com/alpine/data/http/image/postimage/response/postimageresponse.class 

example 2:

java.lang.error: unresolved compilation problems:      import com.alpine.data.http.gas.getstation cannot resolved     import com.alpine.data.http.message cannot resolved     import com.alpine.data.http.postdevicelogentries2 cannot resolved     getmessagesresponserecord cannot resolved type     method getmessages(string, string, string, string) type messagemanager refers missing type getmessagesresponserecord 

but packages , classes there in jar file !!!

com/alpine/data/http/gas/getstations/ com/alpine/data/http/message/ com/alpine/data/http/postdevicelogentries2/ com/alpine/data/http/postdevicelogentries2/request/devicelogentry2.class com/alpine/data/http/message/getmessage/response/getmessagesresponserecord.class 

how did build classes in war , jar? errors describe partially failed build.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -