Announcement Announcement Module
Collapse
No announcement yet.
Problem with Spring MVC in ear with an EJB project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    problem resolved

    Conflict in Spring jar files- mixed versions. OK now.

    Comment

    Working...
    X