cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error in creating a new project for UI5

Former Member
0 Kudos

Hello ,

I installed eclipse and added this plugin :

https://tools.hana.ondemand.com/juno

But when all process is done completely on creating a project i am getting this error:

Accepted Solutions (1)

Accepted Solutions (1)

valteraraujo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ajay,

Today I tried both Eclipse Juno and Kepler, standard and JEE versions and I got exactly the same error.

The error is related to the Eclipse Java Compile settings, the standard one is 1.4. I set it to 1.6 and all versions that I mentioned above worked.

  • Solution: Eclipse > Preferences > Java > Compiler > Compiler compliance level: 1.6

Cheers

Former Member
0 Kudos

Thanks, Valter.

setting to 1.6 solved it for me.

Vivek-RR
Product and Topic Expert
Product and Topic Expert
0 Kudos

mann !!! I had this for a long time until i saw your fix !! thanks a lot ! but how did you found out it was compliance level just from constraints error ?

valteraraujo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Vivek,

I have been coding Java since version 1.1 (early 2000 using notepad) and it is was a known issue when I started to use the Eclipse. So for me it is common to check the java minimum requirement and if the Eclipse or the project itself has been setting up correctly.

Cheers

Former Member
0 Kudos

Thank you so much "Valter Araujo", I was facing the problem from past one week.:)

Solution: Eclipse > Preferences > Java > Compiler > Compiler compliance level: 1.6

Former Member
0 Kudos

Thanks much Valter . That was great.

Former Member
0 Kudos

It worked for me too. Thank you very very much!

Former Member
0 Kudos

This also worked for me, I had default compiler set to 1.7, and moving it to 1.6 solved th issue, thanks Valter!

former_member204370
Participant
0 Kudos

Changing workspace helped me!! 1.7 still works.

Former Member
0 Kudos

Thanks Valter! I found your solution through an online search but had to say thanks 'in person'. Really helpful for a newbie (to Eclipse, SAP Hana etc!) like myself

Former Member
0 Kudos

The same worked for me too. Thanks a lot.

onur_sara
Participant
0 Kudos

Hi Valter,

it worked for me too, Thanks a lot

Former Member
0 Kudos

Hi Valter,

I was facing the same issue since two days then i saw your answer it is very helpful. It solved my issue.

Thanks

Former Member
0 Kudos

Thank you very much!

Merry Christmas and Happy New year!

nila_ms
Employee
Employee
0 Kudos

Hi Valter,

Thanks for the suggestion. Helped me in resolving the issue.

Regards,

Nila

pappu_kumar2
Participant
0 Kudos

Dear All,

Thanks Valter Araujo.

I was also getting same error but now it is working. initially JDK compiler was set 1.4 but in my system 1.7 was there. so just i have made JDK compiler 1.7.

Please follow the below steps for correct setting-

Window Menu->Preference ->Compiler->JDK Compiler

                                            Choose the compiler version as you have installed in system

Regard,

Pappu.

Guru
Participant
0 Kudos

I Had Similar problem, I followed Kumar advice and it woke. Thanks.

Former Member
0 Kudos

Thanks Valter, your suggestion resolved my issue.

SunilV

0 Kudos

Thank you. problem solved by Eclipse > Preferences > Java > Compiler > Compiler compliance level: 1.6

selvakumar_mohan
Active Participant
0 Kudos

Worked like a charm. You have been life saver for many

Answers (8)

Answers (8)

0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Prakash,

you should check compliance l level (1.4 to 1.7) and select 1.6 or 1.7  you will get the solution.

Eclipse > Preferences > Java > Compiler > Compiler compliance level

jyotheswar_p2
Active Participant
0 Kudos

Thanks Pappu .. This worked for me.

Former Member
0 Kudos

Hi Ajay,

Just change your compiler level according to your eclipse environment which is you are using.

1.4 to 1.7 just choose comptable one.

Former Member
0 Kudos

Hi Pappu,

Thank you

0 Kudos

Java compiler worked for me too. Thanks!

valteraraujo
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ajay,

We already have 3 positives answers, please could you set this question as answered?

Cheers,

Valter

Former Member
0 Kudos

Done

-Ajay

Aisurya
Participant
0 Kudos

Hello Ajay,

I have also faced the same type of problem . Please create a new Workspace and try with that , it will work.

Thanks,

Aisurya

Former Member
0 Kudos

me too

ChandraMahajan
Active Contributor
0 Kudos

Hi Ajay,

As per error "one or more constraints have not been satisfied" it seems that you might be missing some required plugins in eclipse.

try to get more specific error. if you google this error you will find lots of discussion around it. but you need to get specific error so that you can install the missing plugin.

Regards,

Chandra

Former Member
0 Kudos

Hello Chandra,

Thanks for quick reply , actually I was missing my ADT Plugin  it is resolved now.

-Ajay

Former Member
0 Kudos

Getting error in creating a new project for UI5' like that'' One or more constraints have not been satisfied''  after that  i have done ADT plugin successfully but i still get it.