maven-examples
maven-examples copied to clipboard
List of Maven examples
Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 5.1.0.RELEASE to 5.3.18. Release notes Sourced from spring-webmvc's releases. v5.3.18 :star: New Features Restrict access to property paths on Class references #28261 Introduce cancel(boolean mayInterruptIfRunning) in ScheduledTask...
Develop
Release
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...
i'm using jdk 11 on win10. full log: [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ web --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.mkyong.web.TestWelcome...
please consider to merge commit for add missing **SpringConfig.java**
SpringConfig.java ``` package com.mkyong.web.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; import org.springframework.web.servlet.view.InternalResourceViewResolver; import org.springframework.web.servlet.view.JstlView; @EnableWebMvc @Configuration @ComponentScan({"com.mkyong.web"}) public class SpringConfig implements WebMvcConfigurer { @Override...
public class CalculatorService { public boolean isPositive(int number) { boolean result = false; if (number >=1) { result = true; } return result; } } 执行 @Test public void test3()...
Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 5.1.0.RELEASE to 5.2.20.RELEASE. Release notes Sourced from spring-webmvc's releases. v5.2.20.RELEASE :star: New Features Restrict access to property paths on Class references #28262 Improve diagnostics in SpEL for...