本地运行好好的,空间里运行报错
1、日志提示:
org.apache.jasper.JasperException: /index.jsp(1,2) Unterminated <%@ page tag
我index.jsp的第一行是:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2、网站页面错误提示:
org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; SQL [select count(*) as y0_ from game.product this_]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:635)
org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1046)
org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1039)
com.game.template.hibernate.dao.impl.AbstractDaoHibernate.count(AbstractDaoHibernate.java:282)
com.game.service.Abstract.ProductAbstractService.count(ProductAbstractService.java:126)
com.game.action.LoginAction.prosOfCategory(LoginAction.java:136)
急求解,关键是我本地运行没问题的。
1、日志提示:
org.apache.jasper.JasperException: /index.jsp(1,2) Unterminated <%@ page tag
我index.jsp的第一行是:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
2、网站页面错误提示:
org.springframework.dao.InvalidDataAccessResourceUsageException: could not execute query; SQL [select count(*) as y0_ from game.product this_]; nested exception is org.hibernate.exception.SQLGrammarException: could not execute query
org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:635)
org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1046)
org.springframework.orm.hibernate3.HibernateTemplate.findByCriteria(HibernateTemplate.java:1039)
com.game.template.hibernate.dao.impl.AbstractDaoHibernate.count(AbstractDaoHibernate.java:282)
com.game.service.Abstract.ProductAbstractService.count(ProductAbstractService.java:126)
com.game.action.LoginAction.prosOfCategory(LoginAction.java:136)
急求解,关键是我本地运行没问题的。