Skip to main content

How to Add Kotlin Plugin to Eclipse 2021-12

Below are the issues that i faced during configuration of Kotlin. I am sharing this so this might be useful for some of you.

Issue 1

If you try to add plugins into eclipse to make Kotlin work, you may land into issue as “Class Not found Exception”. In that case, use the plugins from below link

GitHub – bvfalcon/kotlin-eclipse-2021: Enhanced Kotlin Plugin for Eclipse

Issue 2

After you use above link to install kotlin. the classnot found exception will go away but Another error as

“Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper ‘-jvm-target’ option” will come up . In that case, go to Kotlin compilter options and change the target version to 1.8

When you run your main application, you will land into below error

@Configuration class may not be final. Remove the final modifier to continue

Issue 3

Add the keyword open before the class and it should work

Some useful link

Kotlin Plugin for Eclipse | Eclipse Plugins, Bundles and Products – Eclipse Marketplace

Comments

Popular posts from this blog

Motivational Letter for Visa

 Motivational Letter for Visa To, The visa officer  XXXXXXXXXXXX From, XXXXX XXXXXXXXXXXXX Subject: Request for XXXX tourist Visa - Reg.   I am <YOU_NAME> holding Indian Passport ( No. <PASSPORT_NO>.  I would like to visit <PLACE> for a tourist vacation as a tourist along with my family, details given below. I have also enclosed my own financial papers, hotel bookings and flight ticket for your perusal. I will abide to the terms and conditions of the visa regulations and will return to my home country before my stipulated visa duration period. I am planning to travel on  < DATE MOTH YEAR> and return on <DATE MONTH YEAR > . The flight ticket and other travel expenses will be borne by me.    NAME DOB PASSPORT NO ISSUE DATE EXPIRY DAT...

South Korea Places to Visit

 South Korea Places to Visit Gyeongbokgung Palace National Folk Museum Myeong-dong Hanok village               Changdeokgung Palace      Seoul Tower - on Namsan Hill   Dongdaemun Night Market  Everland Theme Park  Gyeongju The Beomeosa Templ Busan Jeju Island  Shopping at Olive Young  Shopping at ART Box for kids    Seodaemun Prison History Museum  Street Market shopping