facebook

3.8.1 doesn’t deploy my action classes [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #213634 Reply

    I have a struts project, and I was having problems with changes in an action class. I put in a System.out.println() and it never printed out — so I concluded that my changes weren’t being deployed.

    So I undeployed and redeployed — now none of my action classes are working.

    I get the error: No action instance for path /CallXMLEdit could be created

    no matter which of my actions, all previously working, are mentioned.

    I look in my deployed directories, and I don’t see the related java files.

    Help

    Lee

    #213645

    Riyad Kalla
    Member

    Lee,
    What app server are you deploying to? What kind of deployment are you using? If you shut down the app server, and redeploy your project and hit “Browser”, are you able to find the Action classes under the WEB-INF/classes dir? If you then start the app server up, does everything work as expected? Have you tried rebuilding your project then redeploying?

    Please note that for a full redeploy to work, you will likely need to shutdown your app server unless your on Linux. Windows/NTFS likes to lock files, so attempting to do a full redeploy (delete/deploy) operation will fail because the app server will most likely have some files locked for read access (like your JAR files, or web.xml file).

    #213648

    Tomcat 5 – exploaded deployment (although I’ve tried both) – my WEB-INF\classes directory is empty

    I’ve undeployed and redeployed, and clean-built several time.

    Lee

    #213649

    Riyad Kalla
    Member

    Odd… if you check your Java Build Path settings for your project, and check your output paths and source paths, are they correct? (e.g. is your output path your WEB-INF/classes dir in your webroot?)

    Also if you open the navigator view (Window > Open View > Navigator) and navigate to your WebRoot/WEB-INF/classes dir, is there anything in there? If not then its a build issue, if there is, then its a deployment issue… I just want to narrow down which one it might be.

    #213653

    @support-rkalla wrote:

    Odd… if you check your Java Build Path settings for your project, and check your output paths and source paths, are they correct? (e.g. is your output path your WEB-INF/classes dir in your webroot?)

    Wierd — some how my src/com, src/com/mycompany directories werer in the “Excluded” section. there is no way I did that myself.

    All is fine now.

    Lee

    #213655

    Riyad Kalla
    Member

    Glad to hear it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: 3.8.1 doesn’t deploy my action classes [Closed]

You must be logged in to post in the forum log in