Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Problem with Compile java classes

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I use Java 1.3 , WebSphere App server, WSAD 5.1. My WSAD workspace has been setup fine from last 1 year. Just now I saw that When I build the project , the all the classes are NOT being created in WEB-INF\classes directory.

I am very surprised as it generates only 3 .class files instead of generating 15 of them.

Any ideas ?
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Anything showing up in the Problems window?
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the same hold true when you export the war?

Export the war file and open it up in WinZip. I bet you the class files will be inside.

-Cameron McKenzie
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have exactly same problem. had you got this fixed ? any suggestion would be of greater help.

Thanks in advance,
Venkatesh S
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Venkatesh Sandrasegaran:
i have exactly same problem. had you got this fixed ? any suggestion would be of greater help.

Thanks in advance,
Venkatesh S




While export as WAR file , check for option like don't export with warning / compile error , if so uncheck that option
 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like there was one jar file changed in the project. This jar file came from Business Object and was built using JDK 1.4. My project was built using JDK 1.3

As JDK version was diffrent in this jar file and my project , it gave errors and generated only 3 class files for some reason.

for those with this problem, you can force WSAD 5.1 to use JDK 1.4 version. by setting up JDK 1.4 jars in library.

Thanks everyone for helping me out.
-Anand.
 
reply
    Bookmark Topic Watch Topic
  • New Topic