-
Recent Posts
- Software developer images with DALL-E 3
- java.lang.IllegalArgumentException: The Unicode character [デ] at code point [12,487] cannot be encoded as it is outside the permitted range of 0 to 255
- Framework Laptop Review
- Software developer images with DALL-E 2
- Svg-based 3D model in OpenSCAD via Inkscape/DXF
Archives
Categories
Meta
Monthly Archives: December 2013
RuntimeException: No suitable ClassLoader found for grab – Grab with main method in IntelliJ
When running a Groovy class with a main method from IntelliJ (12.1.5) that also uses grape @Grab, you get a Exception in thread “main” java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:113) Caused by: java.lang.RuntimeException: No suitable ClassLoader found for … Continue reading
Posted in Software
Leave a comment
Grails Start – Error initializing the application: null
When you encounter this error, try grails clean. That helps in my case (the error occurs sometimes when running grails run-app from the command line, Grails 2.2.4) | Error [localhost-startStop-1] ERROR context.GrailsContextLoader – Error initializing the application: null Message: null … Continue reading
Posted in Software
Leave a comment
Grails Log to Database with Custom Log4J Appender
When you move to more asynchronous processing with Grails (e.g. as with quartz jobs), there’s no user-visible error when something goes wrong. There’s only the logs, and those aren’t the most prominent place for putting failures of mission-cricital jobs. In … Continue reading
Posted in Software
14 Comments
Resize and Crop All Files to Fixed Size with Imagemagick Convert
Here’s the imagemagick command (in a loop in a Windwos batch file) for doing this to all files: resize to fixed size 100×100, with each dimension being at least 100 (regardless of the aspect ratio, but preserving it) crop the … Continue reading
Posted in Software
Leave a comment