Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change Class path of project and Got No Action Map Error

 
Raza Mohd
Ranch Hand
Posts: 247
Java MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i have to ask one thing.. I just changed my class path from default .

which was
/WEB-INF/classes


changed path is
/build/classes
(Not in WEB-INF)

But when i am deploying the project and run ,It give there is no Action Mapped.

I am sure thet The application is not able to read Struts.xml.

do i stick to default class path or any other changes i need to made that i am unaware.

I am using JBoss 4.2.1.GA..

how can i resolve it...


Regards,
Raza
 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Why did you change the classpath?? classes folder is always supposed to be in the WEB-INF folder.
2. How did you actually change the classpath?? The container always looks for classes in the classes and lib (inside jars) folders of your web application...
 
Raza Mohd
Ranch Hand
Posts: 247
Java MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i changed through the java build path.

the second point you mentioned ..

That the container will always look in the WEB-INF ....is there any way that we can configure container so that it can look for the path that i defined.


 
Ankit Garg
Sheriff
Posts: 9509
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again I would ask, why do you want to change the path?? What is the use of moving the classes directory out of the WEB-INF directory??
 
Raza Mohd
Ranch Hand
Posts: 247
Java MyEclipse IDE MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no need....but if i do...there must be a possible solution..

I want to check it.....if i change class path how can i configure container to read path i created.. ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic