Error Cannot Find Resource Vm_global_library.vm
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting velocity error at statup “VM_global_library.vm” up vote 7 down vote favorite 1 I am using Velocity with Spring. But in Eclipse console I get this error. My code works fine, but I want to know how to fix it. ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. java spring velocity share|improve this question edited Mar 23 '15 at 18:11 Jason D 2,87351429 asked Mar 15 '11 at 14:47 John add a comment| 4 Answers 4 active oldest votes up vote 8 down vote accepted Looks like it is a harmless message. From the Velocity Documentation, if this file is present, Velocity loads this up as a location of global macros. I believe you can override the behaviour by resetting or overriding the value of the below property. velocimacro.library= share|improve this answer edited Aug 25 at 2:51 cocoatomo 1,939175 answered Mar 15 '11 at 14:57 adarshr 36.7k1086122 which file r u talking bout , i have only added jar file in spring eclipse . –John Mar 15 '11 at 22:21 add a comment| up vote 3 down vote We used to get this all the time. It's just looking for the global velocity macro library. You can just put an empty file with that name at the root of your velocity config directory or somewhere else accessible by your resource loaders. If I remember correctly its a file for you
is back like a bad habitLog In ExportXMLWordPrintableDetails Type: Bug Status: Resolved (View Workflow) Priority: Low Resolution: Not a bug Affects Version/s: 6.0.1/OD-15 Fix Version/s: None Component/s: Ecosystem - Add-ons (DO NOT USE) Labels: None Environment: JIRA 6.0.1 JDK 1.7.0_45 AMPS 4.2.10 LICENSING 2.13.3 OS: Ubuntu 13.04 Description http://stackoverflow.com/questions/5313470/getting-velocity-error-at-statup-vm-global-library-vm I'm working with one of our commercial plugins (Last Comment) and I'm noticing this error pop up in the logs during startup. I didn't check to see if it appeared with log level set to debug on https://jira.atlassian.com/browse/JRA-36025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel my license testing example code in bitbucket but that'd be the first thing I'd check: https://bitbucket.org/capitalplugins/atlassian-marketplace-licensetesting Error is same (to me at least, it 'looks' the same) as the one in the cloned from issue. -wc AttachmentsOptionsSort By NameSort By DateAscendingDescendingThumbnailsListAttachmentsatlassian-marketplace-licensetesting-buildconsoleoutput.zip901 kB03/Dec/2013 6:32 PMbuild3 kB03/Dec/2013 6:32 PMVM_global_library.vm-referencesInFile.txt19 kB03/Dec/2013 6:32 PMIssue Links is cloned from JRA-2123 unable to find resource 'VM_global_library.vm' in any resource loader Closed Activity People Assignee: Unassigned Reporter: William Crighton [CCC] Votes: 0 Vote for this issue Watchers: 2 Start watching this issue Dates Created: 01/Dec/2013 8:46 AM Updated: 05/Dec/2013 2:32 PM Resolved: 05/Dec/2013 2:32 PM Atlassian JIRA Project Management Software (v7.2.0#72002-sha1:36e1562:node2) About JIRA Report a problem Atlassian
Reply | Threaded http://maven.40175.n5.nabble.com/unable-to-find-resource-VM-global-library-vm-td76540.html Open this post in threaded view ♦ ♦ https://issues.apache.org/jira/browse/MSITE-286 | Report Content as Inappropriate ♦ ♦ unable to find resource 'VM_global_library.vm' Hi I am new to Maven and I am following the 'getting started' guide step-by-step. When error cannot I try to create the site documentation and execute: ----8<---- mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app \ -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-site ---->8---- I get the appended error message. Is my system corrupt or is it a maven (or plugin) bug? Everything error cannot find else works fine. I have Maven v2.0.4, and Java 1.5.0_09 ----8<---- $ mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId =maven-archetype-site [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Maven Quick Start Archetype [INFO] task-segment: [archetype:create] (aggregator-style) [INFO] ------------------------------------------------------------------------ ---- [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] ************************************************************** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] R
: unable to find resource 'VM_global_library.vm' in any resource loader.Agile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Closed Priority: Minor Resolution: Duplicate Affects Version/s: 2.0-beta-5 Fix Version/s: None Component/s: None Labels: None Description I always get the error below: [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. this does not seem to affectr my builds or sites generation is this normal/abnormal. what should i do so that i get rid of this, and that my manager does not feel bad about a product that throws errors even if final result seems ok thanks, Christian-Luc Issue Links depends upon MSITE-142 Velocity verbosity errors Closed Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Marat Radchenko added a comment - 21/Dec/07 07:03 Well, as far as I see, this is actually not a error. However looks ugly Related links: http://osdir.com/ml/jakarta.velocity.user/2004-01/msg00208.html http://jira.atlassian.com/browse/JRA-2123 Show Marat Radchenko added a comment - 21/Dec/07 07:03 Well, as far as I see, this is actually not a error. However looks ugly Related links: http://osdir.com/ml/jakarta.velocity.user/2004-01/msg00208.html http://jira.atlassian.com/browse/JRA-2123 Hide Permalink Siveton Vincent added a comment - 07/Jan/08 06:33 Duplicate MSITE-170 Fixed in maven-site-plugin:2.0-beta-6 Show Siveton Vincent added a comment - 07/Jan/08 06:33 Duplicate MSITE-170 Fixed in maven-site-plugin:2.0-beta-6 People Assignee: Siveton Vincent Reporter: christian-Luc Houze Votes: 14 Vote for this