This is a note about how to use MyBatis to generate Java code by given database and configuration.
Generate Java Code with MyBatis Generator
Tomcat Debugging with IntelliJ IDEA Community Edition
In Eclipse EE edition, there is support to debugging web application with web container implementation like Tomcat. IntelliJ IDEA professional edtion seems have the same function. However, in IntelliJ IDEA community edition, how to do it?
This solution is found here.
Maven Snapshot Dependency Error
The error happened when:
I want to redeploy a web application and find it cannot compile successfully. The error is that some classes in the “com.solomon/solomon-am-client” dependency cannot be found.
After some investigation, I find the root cause is that, the version “1.0-SNAPSHOT” of “com.solomon/solomon-am-client” used by this project is updated and the classes used in the project are removed from its code.
Dependency Error when running apt-get
Today I get the following error when running “apt-get”:
Remove local, remote branch and outdated references
Fix No module named tkinter issue
This problems happens when I run Python code which uses “import matplotlib.pyplot as plt” or “import axelrod as axl”. Both of them use “tk”.
Fix Dubbo RegistryService "Failed to connect" error
Java SynchronousQueue
Synchronous queues are similar to rendezvous channels used in CSP and Ada. They are well suited for handoff designs, in which an object running in one thread must sync up with an object running in another thread in order to hand it some information, event, or task. –From Java offical document here