信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\fujin\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Users\fujin\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_7.5.0.zmyeclipse75020090612\tomcat\bin
2012-5-25 14:54:52 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2012-5-25 14:54:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 399 ms
2012-5-25 14:54:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2012-5-25 14:54:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.13
2012-5-25 14:54:54 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
[ERROR]2012-05-25 14:55:03,486 Unsuccessful: alter table as_assess add index FK2595A811884B7BF0 (ORGANIZATION_ID), add constraint FK2595A811884B7BF0 foreign key (ORGANIZATION_ID) references uc_organization (ORGANIZATION_ID) - (org.hibernate.tool.hbm2ddl.SchemaUpdate:212) 
[ERROR]2012-05-25 14:55:03,493 Cannot add or update a child row: a foreign key constraint fails (`flareassess/#sql-80c_11`, CONSTRAINT `FK2595A811884B7BF0` FOREIGN KEY (`ORGANIZATION_ID`) REFERENCES `uc_organization` (`ORGANIZATION_ID`)) - (org.hibernate.tool.hbm2ddl.SchemaUpdate:213) 
[DEBUG]2012-05-25 14:55:07,063 QueryAccessor new - (com.flare.framework.action.QueryParamAccessor:18) 
[DEBUG]2012-05-25 14:55:07,063 QueryAccessor new - (com.flare.framework.action.QueryParamAccessor:18) 
[ INFO]2012-05-25 14:55:11,559 SpringBeanLoader initialized! - (com.flare.framework.spring.SpringBeanLoader:18) 
[ INFO]2012-05-25 14:55:11,559 SpringBeanLoader initialized! - (com.flare.framework.spring.SpringBeanLoader:18) 
我想问下,前面的错误信息啥意思,影响工程的运行吗?出错的问题是什么???怎么解决??我也是考的别人的配置!!直接运行了!!!

解决方案 »

  1.   

    Cannot add or update a child row: a foreign key constraint fails这行意思是:不能添加或更新一个子行:外键限制失败
    应该是外键所在的表或外键属性
    出问题了
      

  2.   

     这样啊 :::project--》clean
      

  3.   

    2012-5-26 9:07:07 org.apache.catalina.core.AprLifecycleListener init
    信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Users\fujin\AppData\Local\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Users\fujin\AppData\Local\Genuitec\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_7.5.0.zmyeclipse75020090612\tomcat\bin
    2012-5-26 9:07:07 org.apache.coyote.http11.Http11Protocol init
    信息: Initializing Coyote HTTP/1.1 on http-8080
    2012-5-26 9:07:07 org.apache.catalina.startup.Catalina load
    信息: Initialization processed in 515 ms
    2012-5-26 9:07:08 org.apache.catalina.core.StandardService start
    信息: Starting service Catalina
    2012-5-26 9:07:08 org.apache.catalina.core.StandardEngine start
    信息: Starting Servlet Engine: Apache Tomcat/6.0.13
    2012-5-26 9:07:25 org.apache.catalina.core.ApplicationContext log
    信息: Initializing Spring root WebApplicationContext
    [ERROR]2012-05-26 09:07:51,826 Unsuccessful: alter table as_assess add index FK2595A811884B7BF0 (ORGANIZATION_ID), add constraint FK2595A811884B7BF0 foreign key (ORGANIZATION_ID) references uc_organization (ORGANIZATION_ID) - (org.hibernate.tool.hbm2ddl.SchemaUpdate:212) 
    [ERROR]2012-05-26 09:07:51,833 Cannot add or update a child row: a foreign key constraint fails (`flareassess/#sql-84c_1`, CONSTRAINT `FK2595A811884B7BF0` FOREIGN KEY (`ORGANIZATION_ID`) REFERENCES `uc_organization` (`ORGANIZATION_ID`)) - (org.hibernate.tool.hbm2ddl.SchemaUpdate:213) 
    [DEBUG]2012-05-26 09:07:56,563 QueryAccessor new - (com.flare.framework.action.QueryParamAccessor:18) 
    [DEBUG]2012-05-26 09:07:56,563 QueryAccessor new - (com.flare.framework.action.QueryParamAccessor:18) 
    [ INFO]2012-05-26 09:08:01,369 SpringBeanLoader initialized! - (com.flare.framework.spring.SpringBeanLoader:18) 
    [ INFO]2012-05-26 09:08:01,369 SpringBeanLoader initialized! - (com.flare.framework.spring.SpringBeanLoader:18) 
    2012-5-26 9:08:01 org.apache.coyote.http11.Http11Protocol start
    信息: Starting Coyote HTTP/1.1 on http-8080
    2012-5-26 9:08:01 org.apache.jk.common.ChannelSocket init
    信息: JK: ajp13 listening on /0.0.0.0:8009
    2012-5-26 9:08:01 org.apache.jk.server.JkMain start
    信息: Jk running ID=0 time=0/64  config=null
    2012-5-26 9:08:01 org.apache.catalina.startup.Catalina start
    信息: Server startup in 53514 ms
    那这样,算运行成功了吗?虽然有些错误,但是好像没有报大错!!是把??