当前位置: 代码迷 >> Java Web开发 >> 牛人啊你在那里,帮帮忙吧,看看这个EJB报的错送分啊解决思路
  详细解决方案

牛人啊你在那里,帮帮忙吧,看看这个EJB报的错送分啊解决思路

热度:14   发布时间:2016-04-17 13:06:41.0
牛人啊,你在那里,帮帮忙吧,看看这个EJB报的错送分啊
这个错误可能是什么原因?
Got   a   JDBC   SQLException   while   executing   the   SQL   statement:
SQL   statement <select   t0. "CUSTOMERID ",   t0. "PHONE ",   t0. "STREET ",   t0. "STATE ",   t0. "EMAIL ",   t0. "ZIP ",   t0. "MIDDLEINITIAL ",   t0. "FIRSTNAME ",   t0. "CITY ",   t0. "LASTNAME "   from   "CUSTOMERBEAN "   t0   where   t0. "CUSTOMERID "   =   CAST   (?   AS   VARCHAR(32672))>   with   input   values:java.lang.String:200.
Please   examine   the   SQLException   for   more   information.
NestedException:   org.apache.derby.client.am.SqlException:   Table   'CUSTOMERBEAN '   does   not   exist.
How   to   deal   with   this   problem?    
 
然后还报了个remote   exception  


别人是从sun网站上下的网银演示小系统。好像build.xml里也包含了所以bean,但是仍然报错却说少CUSTOMERBEAN
<target   name= "compile-interface "  
                    depends= "compile-detail,compile-exception ">
        <javac   srcdir= "${src} "   destdir= "${build} "   source= "${source.version} "   target= "${target.version} ">  
                      <include   name= "**/ejb/**/** "/>
                      <exclude   name= "**/ejb/**/*Bean.java,**/ejb/exception/***,**/ejb/test/** "/>
                      <classpath   refid= "classpath "   />
        </javac>                    
    </target>


------解决方案--------------------
UP
  相关解决方案