gtya987321 2016-09-01 06:28 采纳率: 0%
浏览 912
已结题

weblogic 对银联网关支付的问题

总是找不到类 Ensure that the annotations are valid. The error is com.unionpay.acp.demo.consume.Form_6_2_FrontConsume2
stacktrace
Caused By: java.lang.ClassNotFoundException: com.unionpay.acp.demo.consume.Form_6_2_FrontConsume2

在tomcat 一切正常 部署到weblogic 瞄的怎么也不行
已经设置了weblogic.xml

xmlns="http://www.bea.com/ns/weblogic/90"
xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd">

true

求解决方法,是否是jar包冲突呢?
用的是 spring+hibernate

  • 写回答

1条回答 默认 最新

  • gtya987321 2016-09-01 06:45
    关注
     <weblogic-web-app
      xmlns="http://www.bea.com/ns/weblogic/90"
      xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd"> 
         <container-descriptor>
             <prefer-web-inf-classes>true</prefer-web-inf-classes>
        <show-archived-real-path-enabled>true</show-archived-real-path-enabled>
         </container-descriptor> 
    </weblogic-web-app>
    
    
    评论

报告相同问题?