Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Virgo IDE error: No value found for placeholder ''("Spring Tools-> Run the generation of MENIFEST.MF file" can not generate the MNIFEST.MF file correct.)
Virgo IDE error: No value found for placeholder '' [message #761525] Tue, 06 December 2011 15:37 Go to next message
Will Yao is currently offline Will YaoFriend
Messages: 11
Registered: July 2010
Junior Member
When I use the "Spring Tools-> Run the generation of MENIFEST.MF file" to generate the MENIFEST.MF file, the STS log the error:

java.lang.RuntimeException: No value found for placeholder ''
	at org.eclipse.virgo.util.common.PropertyPlaceholderResolver.resolve(
	at org.eclipse.virgo.util.common.PropertyPlaceholderResolver.resolve(
	at org.eclipse.virgo.util.common.PropertyPlaceholderResolver.resolveProperty(
	at org.eclipse.virgo.util.common.PropertyPlaceholderResolver.resolve(
	at org.eclipse.virgo.ide.bundlor.internal.core.BundlorProjectBuilder.generateManifest(
	at org.eclipse.core.internal.resources.Project$
	at org.eclipse.core.internal.resources.Project.internalBuild(
	at org.eclipse.virgo.ide.bundlor.ui.BundlorUiPlugin$

My project is a maven project with pom.xml and files. The file like this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: ${}
Bundle-SymbolicName: ${project.artifactId}
Bundle-Version: ${project.version}
Import-Template: org.springframework.osgi.*;version="[1.2, 2.0)"

I find this error on STS-2.7.2/2.8.1 with virgo-ide- and STS-2.7.0 with virgo-ide-

What's the problem, and who can help me?

thank you!
Re: Virgo IDE error: No value found for placeholder '' [message #765587 is a reply to message #761525] Wed, 14 December 2011 10:53 Go to previous message
Chris Frost is currently offline Chris FrostFriend
Messages: 230
Registered: January 2010
Location: Southampton, England
Senior Member


Look at the project properties, under the 'Spring' item their will be a page for 'Manifest Generation'. This allows you to define properties files that should be used for manifest generation. You should use this to add in the property file that defines the property placeholders used in your file.


Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Previous Topic:userregionfactory failed to start
Next Topic:faild to build org.eclipse.virgo.kernel.userregion
Goto Forum:

Current Time: Wed Apr 01 12:46:56 GMT 2020

Powered by FUDForum. Page generated in 0.02618 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top