Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Could not load JET template loader
Could not load JET template loader [message #11813] Sat, 14 April 2007 08:43 Go to next message
Eclipse UserFriend
Originally posted by: evaandoli.dodo.com.au

I get the following error while run JET from within Eclipse:-

Could not load JET template loader



Any clues.

Jet settings are in my .project

I have jet and jet.ui as a dependant plugin.

I have the templates in the correct directories and all seems to tie in.

I always have a extension point (see below)

<extension

id="DiagramJetId"

name="DiagramJetName"

point="org.eclipse.jet.transform">

<transform

startTemplate="templates/main.jet"

templateLoaderClass="org.eclipse.jet.compiled._jet_transformation " >

<description></description>

<tagLibraries>

<importLibrary id="org.eclipse.jet.controlTags" usePrefix="c"
autoImport="true"/>

<importLibrary id="org.eclipse.jet.javaTags" usePrefix="java"
autoImport="true"/>

<importLibrary id="org.eclipse.jet.formatTags" usePrefix="f"
autoImport="true"/>

<importLibrary id="org.eclipse.jet.workspaceTags" usePrefix="ws"
autoImport="false"/>

</tagLibraries>

</transform>

</extension>
Re: Could not load JET template loader [message #13000 is a reply to message #11813] Wed, 18 April 2007 13:27 Go to previous message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
Stu:

Check the Error Log view. You may find a stack trace that is more helpful.

But, the likely cause of the error is that JET failed to load your Project
as a bundle into your workbench. This can happen for any of the following
reasons (and probably more):

1) you JET project refers to other projects in the workspace. JET will
attempt to load the JET project, but not any referenced projects. Given that
in another thread you state the your JET templates co-exist with some GMF
code, this may be the problem.
2) you are using a 1.4 JRE, but have the Eclipse Java compiler set to
compile the code to Java 5. You'll see an UnsupportedClassVersionError in
the stack trace.

Bug 179286 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=179286) has been
submitted requesting a clearer indication of the problem.

A possible work around:

If its cause #1, the easiest work around is to launch an Eclipse run-time
workbench that includes your JET plug-in and all its required plug-ins.

Paul

"Stu" <evaandoli@dodo.com.au> wrote in message
news:evq47o$6a2$1@build.eclipse.org...
>I get the following error while run JET from within Eclipse:-
>
> Could not load JET template loader
>
>
>
> Any clues.
>
> Jet settings are in my .project
>
> I have jet and jet.ui as a dependant plugin.
>
> I have the templates in the correct directories and all seems to tie in.
>
> I always have a extension point (see below)
>
> <extension
>
> id="DiagramJetId"
>
> name="DiagramJetName"
>
> point="org.eclipse.jet.transform">
>
> <transform
>
> startTemplate="templates/main.jet"
>
> templateLoaderClass="org.eclipse.jet.compiled._jet_transformation " >
>
> <description></description>
>
> <tagLibraries>
>
> <importLibrary id="org.eclipse.jet.controlTags" usePrefix="c"
> autoImport="true"/>
>
> <importLibrary id="org.eclipse.jet.javaTags" usePrefix="java"
> autoImport="true"/>
>
> <importLibrary id="org.eclipse.jet.formatTags" usePrefix="f"
> autoImport="true"/>
>
> <importLibrary id="org.eclipse.jet.workspaceTags" usePrefix="ws"
> autoImport="false"/>
>
> </tagLibraries>
>
> </transform>
>
> </extension>
>
>
Previous Topic:Invoking JET2 from within code
Next Topic:XPath expression returned no result
Goto Forum:
  


Current Time: Thu Sep 19 17:04:26 GMT 2024

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

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

Back to the top