GitLab and GitHub synchronization
How to transfer git repositories from GitLab to GitHub?
Andriy Andrunevchyn@SpringBootTest
Sometimes I hate springboot for different kind of hidden things. You just copy sample with dozens different annotations and then it doesn’t work and you have no any idea what is wrong ’cause you don’t see any logs about that So shortly – if you try to configure test suite for SpringBoot pay attention you [...]
Andriy AndrunevchynMaven and StackOverflowError
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project paidle-rm: Fatal error compiling: java.lang.StackOverflowError -> [Help 1] If you try compiling your project with maven and got java.lang.StackOverflowError check if you don’t use some extremely long [...]
Andriy AndrunevchynLogback rollover issue
If your rollover config doesn’t work due to unknown reason – read this answer. I didn’t find why logback cannot rename log , no process locked log file. The easiest way to fix issue just remove mentioned parameter File <appender name="RF" class="ch.qos.logback.core.rolling.RollingFileAppender"> <param [...]
Andriy AndrunevchynReserved word on sql
If somebody (not you we know you can’t do such stupid thing) created table with name from list of reserved words like USER don’t forget to put square brackets around table name like select * from [USER] You should do the same with jdbc requests
Andriy AndrunevchynAssertionError on jdbc request
If you got such error on jdbc request java.lang.AssertionError at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObject(SQLServerPreparedStatement.java:1693) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setObjectNoType(SQLServerPreparedStatement.java:1530) at [...]
Andriy AndrunevchynSpring 5 + WebFlux without SpringBoot
I don’t like SpringBoot because of hidden dependencies and unknown springconfigs behind annotations. But there is one more problem with SpringBoot – as usual latest examples from Pivotal (and others as well) are written based on SpringBoot and sometimes it’s not possible easily to figure out how properly to set up plain [...]
Andriy AndrunevchynSetting the -source and -target of the Java Compiler on Maven
It’s not necessary to add compiler plugin to your project when you want to set -source/-target java version. Just add following properties, which are the default property names for the plugin parameters. <properties> <maven.compiler.source>1.8</maven.compiler.source> [...]
Andriy AndrunevchynMaven multi-module quickstart
There are few simple steps Create root folder for project Open command line there Execute mvn archetype:generate You will see long list of available archetypes and question at the end Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 1057: Choose appropriate number and proceed with [...]
Andriy Andrunevchyn
Recent Comments