• 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
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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.
 
Shiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic