1 Reply Latest reply on Nov 26, 2014 1:01 PM by Tomaz Cerar

    Exception Handling

    ChengYu Jia Newbie

      My web project (containing Ibatis, Spring, Mytripes ) runs ok on Jboss5.1, when i move it to wildFly8.1, it can't be deployed, throws exceptions :

      "

      Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schoolSchemaMapper' defined in \"/D:/web/wildfly-8.2.0.Final/standalone/deployments/CloudMate.war/WEB-INF/classes/com/kdl/cloudmate/persistence/SchoolSchemaMapper.class\": Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Error resolving class . Cause: org.apache.ibatis.type.TypeException: Could not resolve type alias 'SchoolSchema'.  Cause: java.lang.ClassNotFoundException: Cannot find class: SchoolSchema

      ...

      ".

       

      But a simple web project can run on wildFly8.1, so ,it is not the server problem, i think maybe some jar between the project and wildFly8.1 comfilcts, but i don't konw which?

      Anybody know how to find where is the problem ?