- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 spring junit4 注解
类级别的注解[code="java"]@RunWith(SpringJUnit4ClassRunner.class)@Transactional@TransactionConfiguration(transactionManager = "txManager", defaultRollback = false)@ContextConfiguration(locations = ...
2013-03-26 17:04:24 240
原创 Mac开机后没有声音
我的Mac用bootcamp安装了双系统,在win7系统静音了,然后开机切换到Mac系统发现声音没有了;我在win7里静音的时候插入耳机是可以听见声音的,然后在Mac里把耳机插上,发现声音就恢复正常了,不知道Mac里这个设定是为什么 = =另外一种情况参照此帖http://blog.csdn.net/afatgoat/article/details/4049142...
2013-03-23 17:01:01 793
原创 SVN update 更新状态
A:add 新增 C:conflict 冲突 D:delete 删除 M:modify 本地已经修改 G:modify and merGed 本地文件修改并且和服务器的进行合并 U:update 从服务器更新 R:replace 从服务器替换 I:ignored 忽略...
2013-03-20 14:42:30 725
原创 jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/serv
validateJarFile($filePath/WEB-INF/lib/servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classtomcat启动时报此错误,是因为tomcat的lib目录和项目的lib目录...
2013-03-12 16:19:40 257
原创 java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderL
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener环境:eclipse中用tomcat启动项目,项目基于Maven管理这是在stack overflow 看到的解决办法I had a similar problem when running a spr...
2013-03-12 13:07:55 87
原创 method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
method (Ljava/lang/String;Ljava/lang/Throwable;)V not found这个错误是因为Quartz的cronExpression表达可能有误,如日期和星期可能出现互斥的情况,其中一个可用?代替...
2013-03-11 14:49:43 2015
原创 [转]Spring--quartz中cronExpression配置说明
[b]字段 允许值 允许的特殊字符秒 0-59 , - * /分 0-59 , - * /小时 0-23 , - * /日期 1-31 , - * ? / L W C月份 1-12 或者 JAN-DEC , - * /星期 1-7 或者 SUN-SAT , - *...
2013-03-07 19:59:17 70
原创 将java web项目部署到tomcat根目录
tomcat的server.xml配置文件中的标签中加,docBase=项目路径加名称(不带.war后缀名) reloadable="true/false" 启用tomcat热加载或部署多个项目/Context,参数path后项目名称不同即可访问:http://$ip:$porttomcat 端口指定范围:1~65535(如果访问tomcat没有反应...
2013-03-06 00:51:02 412
原创 An internal error occurred during: "Importing Maven projects". Unsupported IClas
eclipse导入Maven项目报错:An internal error occurred during: "Importing Maven projects". Unsupported IClasspathEntry kind=4 1. Right-click on your project, select Maven -> Remove Maven Nature. ...
2013-03-01 15:46:44 521
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人