GitLab and GitHub synchronization
How to transfer git repositories from GitLab to GitHub?
How to transfer git repositories from GitLab to GitHub?
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 cannot [...]
If you try compiling your project with maven and got java.lang.StackOverflowError check if you don’t use some extremely long builder like me Something like You could use flag -Xss which extends thread stack or just use variable for splitting builder like
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 Now my default log file has ugly name like myappname-2018-05-02.0.log instead myappname.log but I [...]
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 You should do the same with jdbc requests
If you got such error on jdbc request and you have no idea whats wrong on request just check your parameters. In my case I didn’t notice I passed enum value instead name of that value. Seems SpringJdbc doesn’t know how to convert enum to String ((. The same issue appears if you try pass value of Instant class instead [...]
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 [...]
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. Pay attention! For Java 9 it will be version 9 not 1.9 source
There are few simple steps Create root folder for project Open command line there Execute You will see long list of available archetypes and question at the end Choose appropriate number and proceed with instructions Pay attention it could be other value with the time. It was item #250, six years ago. Now for creating child [...]
I found out interesting thing – when you debug your app with active connection to Mongo it could cause unexpected issue at least if use spring mongo data What I noticed If you remove all data from collection you will not be able insert any new record to that collection Sometimes getAll method could return list of nulls instead [...]
Recent Comments