2 u011115385 u011115385 于 2013.12.11 14:39 提问

刚学习ofbiz,将ofbiz的数据库改成oracle时,出现如下错误,求帮忙

刚学习ofbiz ,想将ofbiz数据库改成oracle,我改了配置文件之后,ant load-demo ,没有报错,然后ant start后抱如下错,改怎么解决啊。谢谢
2013-12-11 13:41:21,694 (catalina-startup-0) [ UtilXml.java:1060:ERROR] XmlFileLoader: File file:/E:/Project 10/ofbiz/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml process error. Line: 165. Error message: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
2013-12-11 13:41:33,284 (default-invoker-Thread-18) [ SqlJdbcUtil.java:539:ERROR]
---- exception report ----------------------------------------------------------
Exception: java.sql.SQLException
Message: Conversion to String failed
---- stack trace ---------------------------------------------------------------
java.sql.SQLException: Conversion to String failed
oracle.sql.Datum.stringValue(Datum.java:181)
oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518)
org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732)
org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718)
org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536)
org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179)
org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321)
org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435)
org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481)
org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217)
org.ofbiz.minilang.method.entityops.EntityCondition.exec(EntityCondition.java:60)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)

java.lang.Thread.run(Thread.java:722)

2013-12-11 13:41:33,284 (default-invoker-Thread-18) [ SqlJdbcUtil.java:539:ERROR]
---- exception report ----------------------------------------------------------
Exception: java.sql.SQLException
Message: Conversion to String failed
---- stack trace ---------------------------------------------------------------
java.sql.SQLException: Conversion to String failed
oracle.sql.Datum.stringValue(Datum.java:181)
oracle.jdbc.driver.ScrollableResultSet.getString(ScrollableResultSet.java:518)
org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:213)
org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:732)
org.ofbiz.entity.jdbc.JdbcValueHandler$StringJdbcValueHandler.getValue(JdbcValueHandler.java:718)
org.ofbiz.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:536)
org.ofbiz.entity.util.EntityListIterator.currentGenericValue(EntityListIterator.java:179)
org.ofbiz.entity.util.EntityListIterator.next(EntityListIterator.java:321)
org.ofbiz.entity.util.EntityListIterator.getCompleteList(EntityListIterator.java:435)
org.ofbiz.entity.finder.EntityFinderUtil$GetAll.handleOutput(EntityFinderUtil.java:481)
org.ofbiz.entity.finder.ListFinder.runFind(ListFinder.java:217)
org.ofbiz.minilang.method.entityops.EntityCondition.exec(EntityCondition.java:60)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:458)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:71)
org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:242)
java.lang.Thread.run(Thread.java:722)

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!