-
Oct 27th, 2008, 09:14 AM
#1
Problem with Spring MVC in ear with an EJB project
I created a Spring MVC-driven web application and everything compiles and starts up fine under Weblogic 10. When I add an ear, and place the web application and an ejb project in the ear, then I get a startup error. The error occurs regardless of whether I'm running ebj 2.1 or ejb 3.1. It looks like the problem is with a configuration file, but again, the same web application starts up fine outside the context of the ear.
<Oct 27, 2008 9:58:36 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "admin" failed to preload on startup in Web application: "/admin".
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.j ava:182)
at java.util.StringTokenizer.<init>(StringTokenizer.j ava:204)
at org.springframework.util.StringUtils.tokenizeToStr ingArray(StringUtils.java:788)
at org.springframework.util.StringUtils.tokenizeToStr ingArray(StringUtils.java:764)
at org.springframework.context.support.AbstractRefres hableConfigApplicationContext.setConfigLocation(Ab stractRefreshableConfigApplicationContext.java:69)
Truncated. see log file for complete stacktrace
>
Any leads would be greatly appreciated.
-
Oct 29th, 2008, 12:56 PM
#2
problem resolved
Conflict in Spring jar files- mixed versions. OK now.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules