在搭建一个spring3.0+hibernate+jpa项目框架,根据网友提供的例子,在junit下做了一个存储数据的测试,报如下异常:org.springframework.transaction.TransactionSystemException:CouldnotcommitJPAtransaction;nestedexceptionisjavax.persistence.RollbackException:Errorwhi..
分类:
其他好文 时间:
2014-05-09 00:56:47
阅读次数:
1238
C:\Windows\Microsoft.NET\Framework64\v4.0.30319>InstallUtil.exe
C:\_PRODUKCIJA\Debug\DynamicHtmlTool.exeMicrosoft(R).NET FrameworkInstallation
utility...
分类:
其他好文 时间:
2014-05-08 23:53:56
阅读次数:
518
No architectures to compile for
(ONLY_ACTIVE_ARCH=YES, active arch=armv7, VA运行报错出现的原因:armv7s是应用在iPhone 5/5c/5s
A6 的架构上的解决的方式:1,在Project target里“Archit...
分类:
其他好文 时间:
2014-05-08 23:06:49
阅读次数:
439
用 oracle net manager
将监听改为IP地址,将服务命名也改为IP地址,然后数据库连接改为IP地址方式不要用localhost
分类:
Web程序 时间:
2014-05-08 18:35:45
阅读次数:
255
VMWare提供了三种工作模式,它们是bridged(桥接模式)、NAT(网络地址转换模式)和host-only(主机模式)。 如果你想利用VMWare在局域网中新建一个独立的虚拟服务器,为局域网用户提供网络服务;或者想创建一个与网内其他机器相隔离的虚拟系统,进行特殊的调试工作。此时,对虚拟系统工作...
分类:
其他好文 时间:
2014-05-08 12:23:41
阅读次数:
253
Struts2出现错误,总是提示"There is no Action mapped for
namespace / and action name"的错误。 错误代码如下: 09:36:13,515 WARN [Dispatcher] Could
not find action or result...
分类:
移动开发 时间:
2014-05-08 10:26:18
阅读次数:
525
这道题采用穷举法。 1 /** 2 * Given a string containing only
digits, 3 * restore it by returning all possible valid IP address combinations.
4 ...
分类:
其他好文 时间:
2014-05-08 09:17:22
阅读次数:
248
在Linux系统中,有一个很重要的目录——/usr目录。关于这个目录名称的由来,网上主要有下面几种说法:user的缩写User Shareable
Read-only的缩写Unix/User System Resources的缩写Unix/User Software Resources的缩写目前大多...
分类:
系统相关 时间:
2014-05-08 09:07:43
阅读次数:
347
1、IP错误:
在设置URL时错误,例如:jdbc:oracle:thin:@192.168.1.80:1521:orcl 数据库服务器是否正确:ping
服务器IP是否通畅。ping不通则将URL更改正确。 端口号是否正确。 进行一下操作:在DOS上键入sqlplus,检查oracle是否开启 一...
分类:
Web程序 时间:
2014-05-08 09:07:17
阅读次数:
514
Pat1060代码
题目描述:
If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with simple chopping. Now given...
分类:
其他好文 时间:
2014-05-08 02:07:49
阅读次数:
452