最近在整合最新的一些框架. 各种配置都OK了,最后启动并操作数据的时候却报错。 org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transac…
Leave a CommentMaple's Blog Posts
在centos中安装了相应的git maven 等。想要把项目导入到服务器中进行打包处理. 在git clone 的时候就出现提示输入密码的问题: gent admitted failure to sign using the key. [email protected]’s pas…
Leave a Comment具体怎样使用deploy命令部署构件到nexus服务器上可以参考经典的《Maven Definitive Guide》(Maven操作指南),书中的16.7节里面讲解的非常详细。假设我们在项目pom.xml文件中对maven服务器的设置信息如下: <distributionManagemen…
Leave a Commentmaven 服务器在断网下产生了很多.last的文件. 想在服务器下批量删除. find / -name “*.last*” |xargs rm -rf 会删除所有以last标示开始扩展文件。操作的时候先: find / -name “*.last*”…
Leave a Comment异常处理在编写健壮的Java应用的过程中,扮演着一个重要的角色。它并不是应用的功能需求,且需要优雅的处理任何错误情况,例如资源不可用,错误的输入,null输入等等。Java提供几个异常处理功能,并通过try, catch 和 finally关键字内嵌在语言的本身。Java编程语言同样允许创建新的异常…
Leave a Comment