File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSH:Unable to load configuration. - [unknown location]

 
Kurt Xu
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm integrating strtus,hibernate and spring into my web project, but when I launch tomcat ,below error come up:



What's the possible reason?
version:
spring:3.0.1
hibernate:3.3
struts:2.1.8

struts.xml:


 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What libraries *specifically* are you deploying? Right now I'd have to guess you're not deploying the Spring plugin, but it's difficult to say without knowing what you're actually doing.

I personally haven't testing Spring 3 w/ Struts 2 yet, although my assumption is that it should work.
 
Kurt Xu
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
David Newton wrote:What libraries *specifically* are you deploying? Right now I'd have to guess you're not deploying the Spring plugin, but it's difficult to say without knowing what you're actually doing.

I personally haven't testing Spring 3 w/ Struts 2 yet, although my assumption is that it should work.


Hi,here is my libraries:

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not deploying the Struts 2 Spring plugin, so the Spring object factory is not defined.

You are, however, deploying every *other* library in the known universe, and this *will* cause you problems: *only* deploy the libraries you are actually using, and that are actually *needed*. What you're doing here is dangerous, misleading, and unnecessary.

Particularly Struts 2 plugins, as each will introduce its own sets of dependencies, and may affect application behavior.
 
Kurt Xu
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I figured out finally. It's due to ide myeclipse, there is certain lib conflicts in there ,so I switch to my own lib ,removing the myeclipse-offered lib ,then error disappeared.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic