Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties
MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #52301] Fri, 03 September 2004 19:04 Go to next message
Eclipse UserFriend
Originally posted by: robinnt.us.ibm.com

Hi,

I have created an XSDSchema and am trying to add a global element
(XSDElementDeclaration) to it when the MissingResourceException is thrown as
shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using the
xsd-SDK-M200407211027 build.

java code throwing the exception:

schema.getContents().add(anElement);


java.util.MissingResourceException: Missing properties:
org/eclipse/xsd/plugin.properties
at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
at
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
at
org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
ava:1448)
at org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
pl.java:1122)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
onChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
onChainImpl.java:101)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
Impl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)

Has anyone seen this problem and know what is wrong?
Thanks.
Re: MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #52328 is a reply to message #52301] Fri, 03 September 2004 21:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: robinnt.us.ibm.com

The problem turned out to be that the xsd.resources.jar file was not in the
classpath. After adding it to the classpath the error was gone. Should the
xsd.resources.jar have been listed in the plugin.xml file?


"Robin Noble-Thomas" <robinnt@us.ibm.com> wrote in message
news:chaeva$aqt$1@eclipse.org...
> Hi,
>
> I have created an XSDSchema and am trying to add a global element
> (XSDElementDeclaration) to it when the MissingResourceException is thrown
as
> shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
> file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
the
> xsd-SDK-M200407211027 build.
>
> java code throwing the exception:
>
> schema.getContents().add(anElement);
>
>
> java.util.MissingResourceException: Missing properties:
> org/eclipse/xsd/plugin.properties
> at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
> at
>
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
> at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
> at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
> at
>
org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
> ava:1448)
> at
org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
> pl.java:1122)
> at
>
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
> onChainImpl.java:113)
> at
>
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
> onChainImpl.java:101)
> at
>
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
> Impl.java:288)
> at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)
>
> Has anyone seen this problem and know what is wrong?
> Thanks.
>
>
Re: MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #52406 is a reply to message #52328] Sat, 04 September 2004 12:43 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------010809000009010709080408
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Robin,

The xsd.resources.jar is needed only for standalone execution so it
shouldn't be in the plugin.xml.


Robin Noble-Thomas wrote:

>The problem turned out to be that the xsd.resources.jar file was not in the
>classpath. After adding it to the classpath the error was gone. Should the
>xsd.resources.jar have been listed in the plugin.xml file?
>
>
>"Robin Noble-Thomas" <robinnt@us.ibm.com> wrote in message
>news:chaeva$aqt$1@eclipse.org...
>
>
>>Hi,
>>
>>I have created an XSDSchema and am trying to add a global element
>>(XSDElementDeclaration) to it when the MissingResourceException is thrown
>>
>>
>as
>
>
>>shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
>>file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
>>
>>
>the
>
>
>>xsd-SDK-M200407211027 build.
>>
>>java code throwing the exception:
>>
>> schema.getContents().add(anElement);
>>
>>
>>java.util.MissingResourceException: Missing properties:
>>org/eclipse/xsd/plugin.properties
>>at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
>
>
>>at
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
>
>
>>at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
>
>
>>ava:1448)
>>at
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
>
>
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
>
>
>>pl.java:1122)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
>
>
>>onChainImpl.java:113)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
>
>
>>onChainImpl.java:101)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
>
>
>>Impl.java:288)
>>at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)
>>
>>Has anyone seen this problem and know what is wrong?
>>Thanks.
>>
>>
>>
>>
>
>
>
>


--------------010809000009010709080408
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Robin,<br>
<br>
The xsd.resources.jar is needed only for standalone execution so it
shouldn't be in the plugin.xml.<br>
<br>
<br>
Robin Noble-Thomas wrote:<br>
<blockquote cite="midchaltq$l4t$1@eclipse.org" type="cite">
<pre wrap="">The problem turned out to be that the xsd.resources.jar file was not in the
classpath. After adding it to the classpath the error was gone. Should the
xsd.resources.jar have been listed in the plugin.xml file?


"Robin Noble-Thomas" <a class="moz-txt-link-rfc2396E" href="mailto:robinnt@us.ibm.com">&lt;robinnt@us.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:chaeva$aqt$1@eclipse.org">news:chaeva$aqt$1@eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

I have created an XSDSchema and am trying to add a global element
(XSDElementDeclaration) to it when the MissingResourceException is thrown
</pre>
</blockquote>
<pre wrap=""><!---->as
</pre>
<blockquote type="cite">
<pre wrap="">shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
</pre>
</blockquote>
<pre wrap=""><!---->the
</pre>
<blockquote type="cite">
<pre wrap="">xsd-SDK-M200407211027 build.

java code throwing the exception:

schema.getContents().add(anElement);


java.util.MissingResourceException: Missing properties:
org/eclipse/xsd/plugin.properties
at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
</pre>
<blockquote type="cite">
<pre wrap="">at
</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
</pre>
<blockquote type="cite">
<pre wrap="">at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
</pre>
<blockquote type="cite">
<pre wrap="">ava:1448)
at
</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
</pre>
<blockquote type="cite">
<pre wrap="">at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
</pre>
<blockquote type="cite">
<pre wrap="">pl.java:1122)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
</pre>
<blockquote type="cite">
<pre wrap="">onChainImpl.java:113)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
</pre>
<blockquote type="cite">
<pre wrap="">onChainImpl.java:101)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
</pre>
<blockquote type="cite">
<pre wrap="">Impl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)

Has anyone seen this problem and know what is wrong?
Thanks.


</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------010809000009010709080408--
Re: MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #591335 is a reply to message #52301] Fri, 03 September 2004 21:02 Go to previous message
Eclipse UserFriend
Originally posted by: robinnt.us.ibm.com

The problem turned out to be that the xsd.resources.jar file was not in the
classpath. After adding it to the classpath the error was gone. Should the
xsd.resources.jar have been listed in the plugin.xml file?


"Robin Noble-Thomas" <robinnt@us.ibm.com> wrote in message
news:chaeva$aqt$1@eclipse.org...
> Hi,
>
> I have created an XSDSchema and am trying to add a global element
> (XSDElementDeclaration) to it when the MissingResourceException is thrown
as
> shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
> file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
the
> xsd-SDK-M200407211027 build.
>
> java code throwing the exception:
>
> schema.getContents().add(anElement);
>
>
> java.util.MissingResourceException: Missing properties:
> org/eclipse/xsd/plugin.properties
> at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
> at
>
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
> at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
> at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
> at
>
org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
> ava:1448)
> at
org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
> at
>
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
> pl.java:1122)
> at
>
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
> onChainImpl.java:113)
> at
>
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
> onChainImpl.java:101)
> at
>
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
> Impl.java:288)
> at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)
>
> Has anyone seen this problem and know what is wrong?
> Thanks.
>
>
Re: MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #591372 is a reply to message #52328] Sat, 04 September 2004 12:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010809000009010709080408
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Robin,

The xsd.resources.jar is needed only for standalone execution so it
shouldn't be in the plugin.xml.


Robin Noble-Thomas wrote:

>The problem turned out to be that the xsd.resources.jar file was not in the
>classpath. After adding it to the classpath the error was gone. Should the
>xsd.resources.jar have been listed in the plugin.xml file?
>
>
>"Robin Noble-Thomas" <robinnt@us.ibm.com> wrote in message
>news:chaeva$aqt$1@eclipse.org...
>
>
>>Hi,
>>
>>I have created an XSDSchema and am trying to add a global element
>>(XSDElementDeclaration) to it when the MissingResourceException is thrown
>>
>>
>as
>
>
>>shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
>>file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
>>
>>
>the
>
>
>>xsd-SDK-M200407211027 build.
>>
>>java code throwing the exception:
>>
>> schema.getContents().add(anElement);
>>
>>
>>java.util.MissingResourceException: Missing properties:
>>org/eclipse/xsd/plugin.properties
>>at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
>
>
>>at
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
>
>
>>at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
>
>
>>ava:1448)
>>at
>>
>>
> org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
>
>
>>at
>>
>>
>>
> org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
>
>
>>pl.java:1122)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
>
>
>>onChainImpl.java:113)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
>
>
>>onChainImpl.java:101)
>>at
>>
>>
>>
> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
>
>
>>Impl.java:288)
>>at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)
>>
>>Has anyone seen this problem and know what is wrong?
>>Thanks.
>>
>>
>>
>>
>
>
>
>


--------------010809000009010709080408
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Robin,<br>
<br>
The xsd.resources.jar is needed only for standalone execution so it
shouldn't be in the plugin.xml.<br>
<br>
<br>
Robin Noble-Thomas wrote:<br>
<blockquote cite="midchaltq$l4t$1@eclipse.org" type="cite">
<pre wrap="">The problem turned out to be that the xsd.resources.jar file was not in the
classpath. After adding it to the classpath the error was gone. Should the
xsd.resources.jar have been listed in the plugin.xml file?


"Robin Noble-Thomas" <a class="moz-txt-link-rfc2396E" href="mailto:robinnt@us.ibm.com">&lt;robinnt@us.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:chaeva$aqt$1@eclipse.org">news:chaeva$aqt$1@eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Hi,

I have created an XSDSchema and am trying to add a global element
(XSDElementDeclaration) to it when the MissingResourceException is thrown
</pre>
</blockquote>
<pre wrap=""><!---->as
</pre>
<blockquote type="cite">
<pre wrap="">shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using
</pre>
</blockquote>
<pre wrap=""><!---->the
</pre>
<blockquote type="cite">
<pre wrap="">xsd-SDK-M200407211027 build.

java code throwing the exception:

schema.getContents().add(anElement);


java.util.MissingResourceException: Missing properties:
org/eclipse/xsd/plugin.properties
at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
</pre>
<blockquote type="cite">
<pre wrap="">at
</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
</pre>
<blockquote type="cite">
<pre wrap="">at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
</pre>
<blockquote type="cite">
<pre wrap="">ava:1448)
at
</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
</pre>
<blockquote type="cite">
<pre wrap="">at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
</pre>
<blockquote type="cite">
<pre wrap="">pl.java:1122)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
</pre>
<blockquote type="cite">
<pre wrap="">onChainImpl.java:113)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
</pre>
<blockquote type="cite">
<pre wrap="">onChainImpl.java:101)
at

</pre>
</blockquote>
<pre wrap=""><!----> org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
</pre>
<blockquote type="cite">
<pre wrap="">Impl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)

Has anyone seen this problem and know what is wrong?
Thanks.


</pre>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------010809000009010709080408--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Getting an element's Children and grand-children!!
Next Topic:xsdSchema.load() throws 'NullpointerException"! Help!1
Goto Forum:
  


Current Time: Thu Apr 25 14:09:10 GMT 2024

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

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

Back to the top