File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Compile java classes

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • 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 ?
 
Ed Thompson
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anything showing up in the Problems window?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Venkatesh Sandrasegaran
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Muthu Marthandam
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic