logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Quartz:ERROR threw an unhandled Exception(Quartz定时任务Job中无法注入spring bean的解决方案)

详细的错误信息如下:-- ::13.366 [DefaultQuartzScheduler_Worker-] ERROR org.quartz.core.JobRunShell: - Job group1.job1 threw an unhandled Exception:java.lang.NullPointerExceptionat com.starunion.java.service.tim

#java
实体类注入失败,返回对象为null,Springboot整合mybatis,配置驼峰命名转换

Springboot整合mybatis,配置驼峰命名转换(例:userId --user_id)如果你发现放回的数据为null,但是其他的数据可以,而且对应字段是有数据的例如{"userId": null,"username": "123","name": "","password": "123","phone": "12345678910",}userId在数据库中是有数据的,但返回的就是空值。

金仓(kingbase)数据库的使用——spring boot 连接(二)

上一篇安装了金仓(kingbase)数据库,那么就要使用了spring boot集成金仓数据库第一种方法在pom.xml文件中<dependency><groupId>com.kingbase</groupId><artifactId>kingbase8</artifactId><version>8.2.0</versi

#spring boot#数据库#java
jsonformat注解失效

jsonformat注解失效原因有许多我失效的原因是mapper中的对应没写对如:<!--根据条件查询歌手信息--><select id="getSinger" resultType="map">select * from singer<if test = " params.name != null and params.name != '' ">where `

#java#spring#spring boot
轮播图图片大小不统一

如何让图片按比例响应式缩放、并自动裁剪的css技巧实现样式html部分:<div class="zoomImage" style="background-image:url(images/test1.jpg)"></div>css部分:.zoomImage{width:100%;height:0;padding-bottom: 100%;overflow:hidden;ba

#css#javascript
Maven工程报错:No goals have been specified for this build. You must specify a valid lifecycle phase or a

一共有两种情况:第一种:在Maven工程中,启动服务时报出如下异常:No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-g...

idea中将web项目war打包并发布到虚拟机的tomcat

首先一定要确保虚拟机上的 jdk 、tomcat和本地是一个版本。1.如图点击,或者点击【File】->【Project Structure】菜单(或使用Shift+Ctrl+Alt+S快捷键),打开【Project Structure】窗口。如下图:2.在【ProjectStructure】中选择左侧的【Artifacts】页签。3.点击中间上面的,选择【WebApplication:Ar

#java
idea中突然无法识别配置文件,就连application.proprietary都无法识别

我使用的是springcloud,springboot,我改了pom文件中的版本号后,idea就突然无法识别原本的配置文件了。然后我用百度的方法。最后配置文件的图片确实变成了我们熟悉的绿色图标,但是idea依然无法加载配置文件。而且target包中没有我们写的配置文件。...

#intellij-idea#java#spring boot
SpringBoot与SpringCloud对应版本及官方查询方法

一、SpringCloud 与 SpringBoot各版本的对应关系SpringCloudSpringBootFinchley2.0.xFinchley.SR1Spring Boot >=2.0.3.RELEASE and <=2.0.9RELEASEFinchley.SR4Spring Boot >=2.0.3.RELEASE and <=2.0.9RELEASEGree

#spring boot#spring cloud#java
jsonformat注解失效

jsonformat注解失效原因有许多我失效的原因是mapper中的对应没写对如:<!--根据条件查询歌手信息--><select id="getSinger" resultType="map">select * from singer<if test = " params.name != null and params.name != '' ">where `

#java#spring#spring boot
到底了