
springboot
mqingo
java开发。
展开
-
springboot+vue在linux服务器部署
一.一块部署[springboot打jar包]linux服务器环境:jdk mysql 1.把vue的项目用npm run build命令打包,打包完成后,会生成dist文件夹.2.打开springboot项目,在src/resources目录下新建一个static文件夹,将dist文件夹中的所有文件放到static下.3.选中springboot项目,右击,选择Run As 最后...原创 2018-10-29 23:44:26 · 4527 阅读 · 0 评论 -
springboot+vue实现excel导入-------去重
springboot后台:数据库:bean: package com.heeexy.example.bean;import java.util.Date;//客户列表public class KH { private int id; private int userId; private Date update_time; private Da...原创 2018-12-18 14:23:58 · 2414 阅读 · 0 评论 -
springboot实现发邮件功能-------未加定时器
在pom.xml中添加<!-- 邮件 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-mail</artifactId> </dependency>原创 2018-12-17 14:58:17 · 706 阅读 · 0 评论 -
springboot+vue实现文件上传
技术:后端:springboot前端框架:vue数据库:mysqlpom.xml: <dependency> <groupId>commons-fileupload</groupId> <artifactId>commons-fileupload</artifactId> <version&g...原创 2018-12-07 10:05:54 · 10550 阅读 · 1 评论 -
启动springboot项目报错Unable to start embedded container
后端技术:mave,springbootDataJpa,Springboot,Log4j,Spring,Hibernate,Netty,JWT,jpush,Jetty / tomcat[与tomcat相比,更加轻量级],httpclient等报错信息如下: 看了下pom.xml,使用到了jetty.<?xml version="1.0" encoding="UTF-8...原创 2018-12-19 18:16:19 · 1922 阅读 · 0 评论 -
springboot+vue用poi技术实现excel导入并插入到数据库,在页面更新
技术:前端:vue后端:springboot数据库:mysqlpom.xml:<!-- excel --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <versio...原创 2018-12-06 13:40:56 · 7219 阅读 · 7 评论 -
myeclipse集成sts
1.在线安装2.离线安装-----百度即可 我是引入springboot的项目,集成sts插件后还报错,解决方法如下: 添加在myeclipse的根目录下添加lombok-1.14.8.jar配置在myeclipse的配置文件.ini中添加两行-Xbootclasspath/a:lombok-1.14.8.jar-javaagent:lombok-1....原创 2018-07-12 14:51:26 · 1745 阅读 · 0 评论 -
myeclipse创建springboot项目
一.在myeclipse中配置sts插件,配好环境 , 在maven的目录下找到settings.xml文件.找到<profiles/>标签,在该标签内添加以下代码:<profile> <id>jdk-1.8</id> <activation> <activeByDeafult>true</a...原创 2018-11-28 00:14:45 · 987 阅读 · 0 评论 -
springboot文件上传大小限制
在MyApplication启动类中添加:@Configuration注解 MyApplication启动类代码:package com.heeexy.example;import javax.servlet.MultipartConfigElement;import org.mybatis.spring.annotation.MapperScan;import org...原创 2018-12-04 15:40:16 · 636 阅读 · 0 评论 -
maven项目中的pom.xml报错 Lifecycle mapping "org.eclipse.m2e.jdt.JarLifecycleMapping" is not available.
项目是springboot项目,jdk为1.8版本.今天打开myeclipse,打开该项目发现pom.xml文件中的<packaging/>标签这报错: Lifecycle mapping "org.eclipse.m2e.jdt.JarLifecycleMapping" is not available. 网上查了查,也没什么好的方法.解决方法:项目---&g...原创 2018-11-22 11:00:15 · 2655 阅读 · 0 评论 -
springboot项目启动报错
之前只在pom.xml中添加了依赖,启动报错,报错信息如下: <!-- Spring boot 父引用--> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-star...原创 2018-10-25 00:11:25 · 685 阅读 · 0 评论 -
springboot-thymeleaf提示Undefined attribute name (th:text)
在eclipse中用到thymeleaf时会提示“Undefined attribute name (th:text).”解决办法1、在html标签中写<html xmlns:th="http://www.thymeleaf.org">2、把要取值的标签写在block标签里<th:block xmlns:th="http://www.thymeleaf.o...原创 2019-05-23 13:44:28 · 2587 阅读 · 0 评论