
maven
文章平均质量分 67
iamlzjoco
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java实现接收字符串对象并在后台代码中转成list对象
代码如下: @PostMapping("/submitTest")public Result submitTest(@NotBlank String params) { try { List<TUserAnswer> userAnswers = JSONArray.parseArray(params, TUserAnswer.class); return Result.ok(map); } catch原创 2021-02-25 16:36:23 · 1088 阅读 · 0 评论 -
springboot使用EntityManager执行自定义SQL
1.在代码中注入 EntityManager import javax.persistence.EntityManager;@AutowiredEntityManager entityManager; 2.在方法中具体使用EntityManager public List<DefColumn> findAllColumns(String table) { Query query = entityManager.createNativeQue.原创 2021-02-19 16:07:49 · 3105 阅读 · 3 评论 -
Java实现图片转PDF
1.导入依赖<!-- https://mvnrepository.com/artifact/com.itextpdf/itextpdf --> <dependency> <groupId>com.itextpdf</groupId> <artifactId>itextpdf</artifactId> <version...原创 2020-07-31 11:40:12 · 6287 阅读 · 1 评论 -
class path resource [log4j.properties] cannot be resolved to URL because it does not exist
从svn上拉代码,然后在导进eclipse,启动Tomcat,报错Invalid 'log4jConfigLocation' parameter: class path resource [log4j.xml] cannot be resolved to URL because it does not exist解决方案:项目名右键--》属性--》Java build path--》source 看看文件是否都添加进去了,如果没有点击 add folder添加...原创 2020-07-31 11:30:03 · 2801 阅读 · 1 评论 -
Illegal access: this web application instance has been stopped already
maven项目报错:Illegal access: this web application instance has been stopped already解决方案:update一下原创 2019-07-12 14:18:07 · 842 阅读 · 2 评论