gradle build skip test
gradle build -x test
- Programming/Java
- · 2020. 5. 4.
import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.PasswordAuthentication; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; public class SendMail { public static void main(String[] args) { final String username = "example@office365.com"; // 발신자 이..
2020-11-23 22:56:58 JRebel: ERROR Class 'org.springframework.web.servlet.handler.AbstractHandlerMethodMapping' could not be processed by org.zeroturnaround.javarebel.integration.spring.cbp.AbstractHandlerMethodMappingCBP@jdk.internal.loader.ClassLoaders$AppClassLoader@2e5c649: org.zeroturnaround.bundled.javassist.CannotCompileException: [source error] getMappings() not found in org.springframewo..
project import 시 java관련 에러가 발생할때project structure 메뉴에서 project SDK를 알맞는 버전으로 선택해 준다. (mac에 경우 command + ; )
springboot 실행시 아래와 같은 에러 발생 java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Log4jLoggerFactory loaded from jar:file:/Users/user/workspace/aim/server/build/libs/aim-0.0.1-SNAPSHOT.jar!/BOOT-INF/lib/slf4j-log4j12-1.7.30.jar!/). If you are using WebLogic you ..
gradle build -x test
gradle build 중 node 관련 에러 node { download = false version = '12.16.1' } build.gradle 에 node option 중 donwload를 false로 변경하면 정상 동작한다.