错误提示为:
C:\Middlegen\build.xml:147: middlegen.MiddlegenException: Middlegen suc
connected to the database, but couldn't find any tables. Perhaps the s
schema or catalog is wrong? -Or maybe there aren't any tables in the da
all?
C:\Middlegen\build.xml:147: middlegen.MiddlegenException: Middlegen suc
connected to the database, but couldn't find any tables. Perhaps the s
schema or catalog is wrong? -Or maybe there aren't any tables in the da
all?
解决方案 »
- jdom 如何查询带 命名空间的xml 又如何修改呢
- 有点晕哦!!!
- Hiberbate将数据插入到MySQL数据库时候的问题
- Sitemesh与Struts2 Ajax主题冲突问题
- 在weblogic哪里设置修改htm页面后,不用重起服务?
- 学习JavaEE的周期大概多久呀
- 请问ejb容器管理ejb的机制是怎样的。
- 大家好啊,谁有weblogic workshop的教学书
- 高分求助!!!!!!!!在线等待
- extjs报无法获取属性“prototype”的值错误
- jbuilder9+struts1.0,报错: Missing message for key login.title!我的资源文件有问题吗?
- 调用Hibernate-extensions包中的hbm2脚本出错
也就是builde.xml的第一行:
<!DOCTYPE project [
<!ENTITY database SYSTEM "file:./config/database/mssql.xml">
我这个是用的mssql.xml,你看看你的用的是不是oracle的xml。
<pathelement path="${basedir}/WebRoot/WEB-INF/classes"/>
<fileset dir="${basedir}/3rdparty/jakarta-commons">
<include name="commons-logging-*.jar"/>
<include name="commons-lang-*.jar"/>
<include name="*.jar"/>
</fileset>
<pathelement location="${weblogic.home}/server/lib/weblogic.jar"/>
</path>
<target name="middlegen" description="Run Middlegen">
<property file="${EJB.project.dir}/test/dao/database.properties"/> <mkdir dir="${build.gen-src.dir}" /> <taskdef name="middlegen" classname="middlegen.MiddlegenTask" classpathref="lib.class.path" /> <middlegen appname="${servlet.name}"
prefsdir="${EJB.project.dir}/merge"
gui="${middlegen.gui}"
databaseurl="${hibernate.connection.url}"
driver="${hibernate.connection.driver_class}"
username="${hibernate.connection.username}"
password="${hibernate.connection.password}"
schema="${hibernate.connection.schema}"
catalog="${hibernate.connection.catalog}"
includeViews="false">
<!--
initialContextFactory="${java.naming.factory.initial}"
providerURL="${java.naming.provider.url}"
datasourceJNDIName="${datasource.jndi.name}"
-->
<hibernate destination="${middlegen.gen-src.dir}/xml" package="com.foottech.domain.fare" genXDocletTags="true" javaTypeMapper="middlegen.plugins.hibernate.HibernateJavaTypeMapper" />
<!--
<adapter destination="${build.gen-src.dir}" package="${name}.adapter" actionLayerName="${actionlayer.plugin}" persistenceLayerName="${persistencelayer.plugin}" voSuffix="Form" voPrefix="" />
-->
</middlegen>
<!--
<mkdir dir="${build.classes.dir}" />
-->
</target>