- This topic has 6 replies, 2 voices, and was last updated 19 years, 2 months ago by Scott Anderson.
-
AuthorPosts
-
ddistasioMemberMy automatic build have not been working. When I try to deploy the code in my src directory no class files are compiled. I tried to build manually but I got the same result. Have you seen this scenario before? I am using tomcat 5.
ddistasioMemberMy .java files will not compile to the classes directory. I am unsure why since I have includes * under the src directory.
Scott AndersonParticipantFirst, ensure that Project > Build Automatically is turned on for the workbench.
Second, check the Properties > Java Build Path and ensure that the source folder is listed and the output is set to the classes folder
Third, select the project in the Package Explorer view and then pick Project > Clean… on it
Finally, use the Navigator view (not the Package Explorer view) to look in your classes folder to see if the classes have been placed there by the compiler
ddistasioMemberScott,
I tried all of the steps listed above but still no luck. It is really strange since my build and deploy process has been working for many months. what else can I try?
ddistasioMemberMy workspace gets rebuilt when I clean the project and the .jsps get rebuilt but not the .java. Also, there are no inclusion/exclusions if I right click on the src directory and select build path->configure inclusion/exclusion filters.
ddistasioMemberI went into properties-> Java Compiler-> Building , enable project specific settings. Build path problems,
and unchecked abort build when bulid path errors occur.
This will compile the .java files but is this an acceptable solution? Where can I see and fix the build path errors?
Scott AndersonParticipantThis will compile the .java files but is this an acceptable solution? Where can I see and fix the build path errors?
It would be better to fix the build path. You can see the build path at Properties > Java Build Path. The build path errors should show up in the Problems View. To ensure you’re not filtering the errors out of the view, you can adjust the filter properties by clicking the downward pointing triangle in the view toolbar and selecting Filters…
-
AuthorPosts