This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Adding/changing java classes on eclipse project

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all!

I have one struts 1.2 war file imported into eclipse 3.4.1

After I imported it, I was able to run the project under tomcat 5.5


I then copy the java file into "src" directory, then found out that none of the class file were deployed to the workspace,
and deploying the .class file ( from another eclipse's build file; same branch of code)

somehow it will break the actionServlet;
I can still access all the .jsp pages, but with all of the .do it will throw a 500 error.

One bad thing about this is that i am also having problem getting error log. I have turned log4j to debug, and make sure web.xml does not block logging, on "console" of eclipse is not printing anything; but when add something like:

<%= System.out.println("blah");%>

in jsp pages, it will print to "console" of eclipse

here is my web.xml, which was the exact same in tomcat with working logging:






struts config:


Thank you!
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like your IDE isn't configured correctly.
 
Forget Steve. Look at this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic