摘要:
需要增加以下配置: @Configuration(proxyBeanMethods = false) public class MybatisAutoConfiguration { /** * 配置PaginationInterceptor,使其分页插件有效 * @return */ @Bean p 阅读全文
摘要:
错误信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources) on project swxt_crawler_manag 阅读全文
摘要:
(1)安装erlangrpm -ivh erlang-20.3.8.26-1.el7.x86_64.rpm (2)安装socatrpm -ivh socat-1.7.3.2-2.el7.x86_64.rpm (3)安装rabbitmqrpm -ivh rabbitmq-server-3.7.13-1 阅读全文
摘要:
1:新建amqp-demo工程并添加依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </depen 阅读全文
摘要:
1:add.py a = 100 b = 200 print (a + b) 2:测试代码 Process proc = Runtime.getRuntime().exec("python D:\\project\\python\\add.py"); BufferedReader in = new 阅读全文
摘要:
说明:使用spring-boot-starter-quartz实现定时任务处理,并将定时任务持久化到mysql数据库,数据源采用druid-spring-boot-starter。 1.添加Maven依赖 <dependencies> <dependency> <groupId>org.spring 阅读全文
摘要:
1:AddressVo.java package com.wzh.app.address; public class AddressVo{ private long id; private long personId; private String address; public long getI 阅读全文
摘要:
通过@Produces注解例如: package com.wzh.app.beans; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFea 阅读全文
摘要:
错误信息如下: Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.apache.ibatis.executor.loader.java 阅读全文
摘要:
在使用Hibernate进行一对多关联关系映射时,在进行查询时,出现 Infinite recursion (StackOverflowError) (through reference chain 错误信息。 (1)PersonEntity @Entity( name = "t_person") 阅读全文