cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori Toolkit: Template Error

kammaje_cis
Active Contributor
0 Kudos

Hi,

I installed Fiori Toolkit on Eclipse Juno.

I wanted to create a 'Starter Application' and selected 'Basic Fiori Application' as the template. I gave 'http://services.odata.org/V4/Northwind/Northwind.svc/' as the service URL, and it populated the Entities upon clicking 'Go'. Now when I hot next, I get an error as below.

" The template is not constructed properly. The template model resource is not accessible. Contact the Template Developer."

Any Idea how to get pass this?

Thanks

Krishna

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

I have faced the same issue and here are  details on "How" i resolved this.

Pre-Check   : Check whether your Eclipse is running on Java version 1.8.

You can verify the same by looking at the detail using either of below options

  Option A : Eclipse -> About Eclipse -> Installation Detail ( Button ) -> Configuration

  Option B : Go to Error Log and look for "Unexpected Exception" error triggered by the plugin

   "com.sap.odata.dt.cons.toolkit.bloom.templates.common"

                  Double click the error log. You will find the JRE that is being used by the plugin

  

Resolution 1 : Change your eclipse configuration to use JDK 1.7 / JRE 1.7

Below are the different options to do the same

  Option A : Modifiy your eclipse.ini file in ECLIPSE_INSALLATION_PATH by adding below two line

  -vm

  {JDK1.7_INSALLATION_PATH}\jre\bin\javaw.exe

  Option B : Change the shortcut / start the eclipse using

"{ECLIPSE_INSALLATION_PATH}\eclipse.exe -vm {JDK1.7_INSALLATION_PATH}\jre\bin\javaw.exe"

Resolution 2 : Modify the JAXP properies of your JDK 1.8 installation

This resolution becomes relevant when you only have JDK 1.8 in your machine & your other softwares have dependency on JDK 1.8.

Hence you can't downgrade you JDK from 1.8 to 1.7

  Step 1 : Go to {JDK1.8_INSALLATION_PATH}/jre/lib

  Step 2 : Add the below line in the file "jaxp.properties" ( you need to create this file if it doesn't exist )

javax.xml.accessExternalSchema = all

  Step 3 : Re-Launch your Eclipse

Recommendation

Among these different Resolution options, the safest one is to point your eclipse alone to JDK 1.7 / JRE 1.7 so that the other software will continue to work  AS IS.

vijay_chanchlani
Explorer
0 Kudos

Hi was also getting the same error.

Found this :

The Fiori templates are no longer supported for Eclipse. Please use the new SAP Web IDE to create new Fiori applications. Afterwards you still can use the Eclipse IDE for development. Only the initial creation of the Fiori App does no longer work with Eclipse.

Regards,

Vijay.

0 Kudos

Hi,

I am also getting the same error. Please suggest.

Regards

Himanshu

vijay_chanchlani
Explorer
0 Kudos

Hi Krishna,

Were you able to get past this?

I am getting the same error.

Any help will be appreciated.

Regards,

Vijay

babu_ganeshv
Participant
0 Kudos

I think there is a problem with your fiori toolkit installation.

start with a fresh Juno(dump your existing eclipse with the pugins and download juno if required ), follow the steps mentioned in the document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0198a4b-0144-3110-4b90-95b21a25b...

2.1 Prerequisites and then step 2.2 Installing the toolkit,

make sure you chose all the pluggins from https://tools.hana.ondemand.com/juno

and then restart eclipse and then install the fioritoolkit as an archieve using the zip file.

It works fine for me.

Best Regards

Babu

Customer Experience Group

SAP Labs India

Former Member
0 Kudos

yes, i got the same error. any Fiori experts can help with it ?

thanks

tony