springboot uses jar deployment by default, and I m going to deploy it with war now, because I need to manually tune tomcat. but the volume of the war package is more than 30 MB, most of which are occupied by the jar package. The upload speed to Ali C...
the foreground project built by vue is packaged and put into the Spring Boot background. But can not directly access the page, can only click through the home menu to enter the jump. (before packing, the front desk can visit the page directly through th...
springboot integration struts2, works fine in the development tool (eclipse). When you package it into a jar package or a war package and execute it with java-jar, the following errors will occur: how to solve it? java.lang.NullPointerException: nu...
all tests before spring boot 2.0 can be added through pom <!--spring security--> <dependency> <groupId>org.springframework.boot< groupId> <artifactId>spring-boot-starter-security< artifactId>...
address 1: http: localhost:8762 hello address 2: http: localhost:8762 hello access 1 has the same result as access 2. expect that access 2 returns 404. related code: @RestController public class HelloController { @GetMapping("hello&q...
example location abc.efg.com{ proxy_pass http: 122.22.22.22:2222 ; } after java request gets the address, it becomes avc_efg_com the gods solve the problem ...
one of my SpringBoot projects, hoping to configure an asynchronous request, has the following error but there is no web.xml in SpringBoot. How should I configure it? ...
for example, I want to know what class @ GetMapping is handled by, and is there any way to quickly find that processing class? ...
question when testing Controller, you don t want the test method to go to the interceptor. After Baidu, the method used is to add @ ComponentScan s @ excludeFilters annotation. But this line of code only works on the main entry of the program, and t...
2018-07-31 23 26 ERROR 08.815 ERROR 5585-[http-nio-8081-exec-8] c.z.api.interceptor.TimeInterceptor:-com.zungui.api.serviceimpl.app.AppVersionsServiceImpl.newest method execution time: 1 ms 2018-07-31 23 c.z.api.interceptor.TimeInterceptor 11.490 INFO ...
how does a project based on Java s webApi implement user authorization? How to achieve single sign-on? the project consists of two parts: webApi and the website. can these two parts use the same authority authentication single sign-on? I have refe...
now there is a scheduled task in the project, which is executed in the early hours of every day, but one day the amount of data is so large that the task has not been finished for one day, and has been executed until the next day, and then the task begi...
Management interface for operation: some operations take a long time, such as half an hour and an hour to return immediately after clicking the operation button, and other server operations are actively pushed to the front end after the completion of th...
I currently have two ways to update Model, but neither feels very good: < H2 > method 1: < H2 > there is a WebApi project for SpringBoot that initiates a http request from the front end to update the Model. for example, to update a User {id,name,ag...
when searching with Mybatis, you can query all conditions dynamically. for example: <select id="selectByModelVague" parameterType="com.test.model.User" resultMap="BaseResultMap"> select <include refid=&qu...
there are application.properties and application-dev.properties and application-prod.properties files in the 1.springboot project. where environment switching can be performed in application.properties spring.profiles.active=dev now I package with t...
when testing the springboot web project, the page requests some picture information, but some resources are not accessible? one of the Type is jpeg and the other is json?. Why is this happening? footer.jpg dadonggua.jpg, webapp ...
the format of the self-packaged jar is inconsistent with that of the introduced jar. For some reason, the imported jar, does not work properly. ...
spring boot restTemplagte access https can be accessed normally on window, Ali centos access timed out the environmental background of the problems and what methods you have tried related codes restTemplate @Bean public RestTemplate restTemplate(O...
https: blog.csdn.net forezp . the third part of this tutorial builds a service consumer creates a new spring-boot project named service-ribbon; inherits the parent pom file in its pom.xml and introduces the following dependencies: <parent> ...
problem description the environmental background of the problems and what methods you have tried before, i=i-1 was not written in if. After the second cycle, the deletion prompt will break and stop running. after writing the i=i-1, you can continue...
"CPP Primer " (fifth edition) says on page 541: it is worth noting that we can also provide definitions for pure virtual functions, but the function body must be defined outside the class . but an error occurs when we do the following experiment: -s...
if this is the problem, how to solve it? ...
do a mobile phone app chat room, using socket io as a long connection, there is such a problem: can be used normally after the first successful login, and then exit login (is to exit login, not kill the app process), and then re-login, you can enter the...
I use the following two methods to achieve the animation effect of imitating anchor point positioning. There is no problem in Zhuo system, but the positioning position in IOS is not accurate. Is there a compatibility problem? related codes ...