Oracle-ds.xml中是如下配置:
<datasources>
<local-tx-datasource>
<jndi-name>jdbc/mydatasource </jndi-name>
<connection-url>jdbc:oracle:thin:@192.168.18.7:1521:hrgl </connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver </driver-class>
<user-na ...
org.springframework.context.NoSuchMessageException: No message found under code 'userinfo' for locale 'zh_CN'.
代码如下:
ApplicationContext ctx = new FileSystemXmlApplicationContext("/src/applicationContext.xml");
Object[] arg = new Object[]{"tzw",Calendar.getInstance().getTime( ...
- 17:20
- 浏览 (487)
- 评论 (2)
今天一过来,更新个人信息时,出现异常:
java.sql.SQLException: The transaction is no longer active - status: 'Rolling Back. [Reason=weblogic.transaction.internal.TimedOutException: Transaction timed out after 32 seconds
BEA1-0125C0B87670F93BF05F]'. No further JDBC access is allowed within this transaction.
at weblo ...
新建一个工程,新建一个test.properties:
userinfo = 登陆名为:[{0}]登陆时间为:[{1}]
保存
使用native2ascii
native2ascii test.properties msg.txt 得到:
??????[{0}]????[{1}]
查看工程里的test文件:
??????[{0}]????[{1}]
发现在对test进行编码转化时,已经就出现问题,尝试其他方法解决:
1、将native2ascii放入path
2、执行以下命令(要转化的文件):
del ApplicationResources_zh_CN.propert ...
- 10:07
- 浏览 (307)
- 评论 (0)
- 浏览: 1464 次
- 性别:

- 来自: 厦门

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
关于NoSuchMessageExcepti ...
http://koctr.blog.sohu.com/52974600.html ...
-- by Koctr -
关于NoSuchMessageExcepti ...
我的这样也不行 麻烦知道怎么弄了 告诉小第一声 先谢了 suyuan_6@16 ...
-- by sariy






评论排行榜