2012-06-05 3 views
0

이것은 확인을 위해 나에게 추천되는 예외입니다. 이 예외는 ICICI 은행의 API 통합을 수행 할 때 발생합니다.은행 업무 통합의 예외

의 java.lang.Exception : 때 CreateInstance 실패 : 새로운 com.opus.epg.sfa.java.BillToAddress

참조 URL : http://kndexim.com/java/SFAClient/TestPages/TestSsl.php

나는, 기본적으로 J2EE 개발자입니다 PHP와 PHP에 대해서만 조금 알 수 있습니다. 나는 이것이 어떤 클래스 경로 문제와 관련이 있다는 것을 알고있다. 이 문제에 대한 해결책을 얻을 수 있습니까? 내 질문에 명확하지 않은 경우, 내가 더 자세한 내용을 제공하도록 요청하십시오. web.xml 파일의

콘텐츠는 ClassNotFoundException가가있다

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> 

<web-app> 
    <!-- support for Java EE cluster, remove this line if you want to put non-serializable objects into the java_session() --> 
    <distributable/> 

    <!-- Your system PHP executable. Default is /usr/bin/php-cgi or c:/Program Files/PHP/php-cgi.exe --> 
    <!--<context-param><param-name>php_exec</param-name><param-value>php-cgi</param-value></context-param>--> 
    <!-- Prefer a system PHP executable, if available. Otherwise use the PHP from the .war file. Default is Off --> 
    <context-param><param-name>prefer_system_php_exec</param-name><param-value>On</param-value></context-param> 

    <!-- Handle PHP urls which cannot be expressed using a standard servlet spec 2.2 url-pattern, 
     e.g.: *.php/delete/from?what=that You may remove this and the filter-mapping below --> 
    <filter><filter-name>PhpCGIFilter</filter-name><filter-class>php.java.servlet.PhpCGIFilter</filter-class></filter> 
    <filter-mapping><filter-name>PhpCGIFilter</filter-name><url-pattern>/*</url-pattern></filter-mapping> 

    <!-- Attach the JSR223 script factory to the servlet context --> 
    <listener><listener-class>php.java.servlet.ContextLoaderListener</listener-class></listener> 

    <!-- PHP Servlet: back-end for Apache or IIS --> 
    <servlet><servlet-name>PhpJavaServlet</servlet-name><servlet-class>php.java.servlet.PhpJavaServlet</servlet-class></servlet> 

    <!-- PHP CGI servlet: when IIS or Apache are not available --> 
    <servlet><servlet-name>PhpCGIServlet</servlet-name><servlet-class>php.java.servlet.fastcgi.FastCGIServlet</servlet-class></servlet> 

    <!-- PHP Servlet Mapping --> 
    <servlet-mapping><servlet-name>PhpJavaServlet</servlet-name><url-pattern>*.phpjavabridge</url-pattern></servlet-mapping> 

    <!-- PHP CGI Servlet Mapping --> 
    <servlet-mapping><servlet-name>PhpCGIServlet</servlet-name><url-pattern>*.php</url-pattern></servlet-mapping> 

    <!-- Welcome files --> 
    <welcome-file-list> 
     <welcome-file>index.php</welcome-file> 
    </welcome-file-list> 

</web-app> 
+0

servlet.jar, servlet-api.jar에 포함되어야합니까? – arjuncc

답변

0

아래에 주어진다. 일반적인 원인은 jar가 누락되었습니다.

com.opus.epg.sfa.java.BillToAddress 클래스를 찾고 클래스 경로에 클래스/jar를 포함 시키십시오.

0

WebappClassLoader에는 com.opus.epg.sfa.java.BillToAddress 클래스가 정의되어 있지 않습니다.

클래스를 포함하는 jar가 클래스 경로에 포함되어 있는지 확인한 다음 java_require('someJar.jar')을 사용하여 클래스 경로에 포함하십시오.