网站推广.NET

网站推广.NET

mysql- could not execute query是什么原因导致的啊?

来源:互联网

mysqljavamyeclipsessh

there is no action mapped for namespace / and action name loginaction_login. - [unknown location]
at com.opensymphony.xwork2.defaultactionproxy.prepare(defaultactionproxy.java:177)
at org.apache.struts2.impl.strutsactionproxy.prepare(strutsactionproxy.java:61)
at org.apache.struts2.impl.strutsactionproxyfactory.createactionproxy(strutsactionproxyfactory.java:39)
at com.opensymphony.xwork2.defaultactionproxyfactory.createactionproxy(defaultactionproxyfactory.java:47)
at org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:458)
at org.apache.struts2.dispatcher.ng.executeoperations.executeaction(executeoperations.java:77)
at org.apache.struts2.dispatcher.ng.filter.strutsprepareandexecutefilter.dofilter(strutsprepareandexecutefilter.java:76)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206)
at org.springframework.orm.hibernate3.support.opensessioninviewfilter.dofilterinternal(opensessioninviewfilter.java:198)
at org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:76)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206)
at org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:96)
at org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:76)
at org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:235)
at org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:206)
at org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:233)
at org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191)
at org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127)
at org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102)
at org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109)
at org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:298)
at org.apache.coyote.http11.http11processor.process(http11processor.java:852)
at org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:588)
at org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:489)
at java.lang.thread.run(thread.java:619)
hibernate:
select
administra0_.id as id0_,
administra0_.administrator_id as administ6_0_,
administra0_.email as email0_,
administra0_.name as name0_,
administra0_.password as password0_,
administra0_.realname as realname0_
from
administrator administra0_
where
1=1
and (
lower(administra0_.name) like 'admin'
)
and administra0_.password='123456'
17:26:22,465 warn org.hibernate.util.jdbcexceptionreporter:100 - sql error: 1054, sqlstate: 42s22
17:26:22,466 error org.hibernate.util.jdbcexceptionreporter:101 - unknown column 'administra0_.administrator_id' in 'field list'
在控制台出现以下语句是什么意思
hibernate:
select
administra0_.id as id0_,
administra0_.administrator_id as administ6_0_,
administra0_.email as email0_,
administra0_.name as name0_,
administra0_.password as password0_,
administra0_.realname as realname0_
from
administrator administra0_
where
1=1
20:48:32,118 warn org.hibernate.util.jdbcexceptionreporter:100 - sql error: 1054, sqlstate: 42s22
20:48:32,126 error org.hibernate.util.jdbcexceptionreporter:101 - unknown column 'administra0_.administrator_id' in 'field list'
hibernate:
select
administra0_.id as id0_,
administra0_.administrator_id as administ6_0_,
administra0_.email as email0_,
administra0_.name as name0_,
administra0_.password as password0_,
administra0_.realname as realname0_
from
administrator administra0_
where
1=1
20:48:37,948 warn org.hibernate.util.jdbcexceptionreporter:100 - sql error: 1054, sqlstate: 42s22
20:48:37,949 error org.hibernate.util.jdbcexceptionreporter:101 - unknown column 'administra0_.administrator_id' in 'field list'

could not execute query