DEVELOPER BLOG
Force specific library version in Maven and Gradle
Maven For Maven users, you can follow these instructions and the set the log4j2.version property. For example: <properties> <log4j2.version>2.15.0</log4j2.version> </properties>COPY To check that the override as been applied run ./mvnw dependency:list | grep log4j and [...]
Restore .wt to local MongoDB
Locate the path to your MongoDB data folder. In my case, Im using Mac Osx Catalina with Mongo installed with Brew. The path is /usr/local/var/mongodb Create a backup of [...]
Drools memory leak
Issue: Application crashed due to memory leak. This happens after executing the drools rule engine multiple times. Solution: Ensure that the Bean configuration is only creating and returning the [...]
AWS SQS org.springframework.core.task.TaskRejectedException
Error: Solution: Add this bean configuration
Drools: Caused by: java.util.zip.ZipException: invalid stored block lengths
Errors: Caused by: java.util.zip.ZipException: invalid stored block lengths DecisionTableParseException: Failed to open Excel stream, please check that the content is xls97 format. Solution: Ensure that "xlsx" is not [...]
Delete a local and remote GIT branch
Delete a local branch Removes a branch that is already pushed and merged with remote: git branch -d <branch_name> Removes a branch regardless whether its already pushed [...]