using groovy-2.3.7, with jdk6u37
got an errorC:\Users\xxx>groovy -v
Sep 29, 2014 12:03:47 AM org.codehaus.groovy.runtime.m12n.MetaInfExtensionModule
newModule
WARNING: Module [groovy-nio] - Unable to load extension class [org.codehaus.groo
vy.runtime.NioGroovyMethods]
Groovy Version: 2.3.7 JVM: 1.6.0_37 Vendor: Sun Microsystems Inc. OS: Windows 7
so how to disable warning for niogroovymethods:
solution 1. Edit $JAVA_HOME/jre/lib/logging.properties
Set INFO to SEVERE or OFFjava.util.logging.ConsoleHandler.level = SEVERE
AfterC:\Users\xxx>groovy -version
Groovy Version: 2.3.7 JVM: 1.6.0_37 Vendor: Sun Microsystems Inc. OS: Windows 7
solution 2. Second better solution
Remove groovy-nio-2.3.7.jar from lib folder
Groovy - how to disable warning for niogroovymethods
Really nice information it will be help my next project thx for posting it please keep it up & waiting for your next article. Thanks a lot.
ReplyDeletecheap vps hosting