- 浏览: 37486 次
- 性别:
- 来自: 上海
最新评论
-
yuan_j:
回1楼 如果用ssh的话..项目里面有一个 hibernate ...
SSH整合启动tomacat出错 -
love51:
怎么配置连接啊?
SSH整合启动tomacat出错 -
lisongqiu168:
这是搞搞什么东西啊
Spring配置
文章列表
当eclipse的项目在myeclipse中无法部署时.修改Java Bulid path里面的路径
这里是配置classes路径 Default output folder重新配置路径
下面是Web页面路径Myeclipse-->Web-->Web-root folder 此处JSP路径
Web Context-root 项目名称
如果,JSP路径无法修改.进入项目 项目名称-->.settings--->org.eclipse.wst.common.component 打开这个文件.强行在文件里面输入你需要配置的目录.
配置完.刷新,重复第一部操作和第二步操作. ...
进入一家新公司,或者搭建一个新环境,都忘记怎么配置svn..所以在这里写一篇文章来记载下。希望大家能用到。也给自己提醒下。
下载SVN插件:site-1.6.10.zip
解压后将其全部文件拷贝至:D:\Program Files\Genuitec\MyEclipse 8.5\dropins(MyEclipse的安装目录)
重启MyEclipse即可出现SVN!
插件下载地址:http://119.147.150.51/gdown_group22/M00/34/78/cWmqI0z1sI0AAAAAAMQhQX3-IHE0428311/svn-site-1.6.16.zip?k=gdEpqO ...
a different object with the same identifier value was already associated with the session
public void updateEmployee(Employee employee) {
this.getHibernateTemplate().update(employee);
}
这个错误产生原因相信大家都知道,因为在hibernate中同一个session里面有了两个相 同标识但是是不同实体,当这时运行 updateEmployee 就会出现a different object wi ...
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from transaction definition.
org.springframework.orm.hibernate3.HibernateTemplate.checkWriteO ...
其中主要原因是因为hibernate many-to-one的默认选项是 lazy = "proxy" 把many-to-one里面的默认值改成 lazy="false";就好了..如果没有自己添加一个
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
org.springframework.orm.hibernate3.HibernateTransactionManager.doBegin(HibernateTransactionMana ...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeAction' defined in file [E:\Tomcat6.0\webapps\myoffices\WEB-INF\classes\applicationContext-action.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExceptio ...
CMyEncrypt.java类
public class CMyEncrypt {
//十六进制下数字到字符的映射数组
private final static String[] hexDigits = {"0","1","2","3","4","5","6","7","8","9","A","B","C","D" ...
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [E:\Tomcat6.0\webapps\crm\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: JDBC Driver class not foun ...
错误信息:No result defined for action com.linkwise.web.LoginAction and result login
at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:364)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)
at org.apache.struts2.impl. ...
前天接手android开发..在学习之中..突然发现eclipse装上tomcat的插件.也可以把它当作myeclipse来用..鼓捣一翻.不知所云..报错无数..
首先给大家说说如何安装tomcat插件..
1. http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV321.zip 这是安装tomcat插件的地址
2.下载完后解压zip包.解压内容放在eclipse中的plugin下的tomcat插件的目录.例如本人D:\Program Files\eclipse\plugins\com.sysdeo.ecli ...