Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [neon] Compilation fails with "cannot find symbol" using javac
[neon] Compilation fails with "cannot find symbol" using javac [message #1752140] Thu, 19 January 2017 08:27 Go to next message
Korhan Gülseven is currently offline Korhan GülsevenFriend
Messages: 2
Registered: December 2016
Junior Member
I've got a problem compiling our Neon project using maven. The compilation fails with "cannot find symbol" pointing to inner classes on scout forms. Inside the import block, moving all import statements containing the inner classes down solves the problem.

Using the Eclipse Compiler (IDE and maven-plugin) everything works fine.

I guess this is the same issue as described here stackoverflow.com/questions/34273176/maven-compilation-fails-with-cannot-find-symbol-while-with-eclipse-it-compile

Do I need to use the Eclipse compiler if I don't want to make assumptions regarding the order of the import statements?

JDK 1.7.0_80-b15 on Win7
Neon 6.0.100.RC4
Re: [neon] Compilation fails with "cannot find symbol" using javac [message #1752152 is a reply to message #1752140] Thu, 19 January 2017 09:46 Go to previous messageGo to next message
Ivan Motsch is currently offline Ivan MotschFriend
Messages: 154
Registered: March 2010
Senior Member
With java 7 and 8 it should be ecl.
Java 9 planned to solve this. But we did not yet verify.
Re: [neon] Compilation fails with "cannot find symbol" using javac [message #1752157 is a reply to message #1752152] Thu, 19 January 2017 09:57 Go to previous messageGo to next message
Korhan Gülseven is currently offline Korhan GülsevenFriend
Messages: 2
Registered: December 2016
Junior Member
Thank you. Just to make sure: I guess you meant ECJ?

Re: [neon] Compilation fails with "cannot find symbol" using javac [message #1752336 is a reply to message #1752157] Sun, 22 January 2017 09:50 Go to previous message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Korhan

Yes, you are right. ECJ: Eclipse Compiler for Java
Previous Topic:[neon] Replacing proxied beans and service tunnel in Stubbed Client
Next Topic:[neon] double menus mobile
Goto Forum:
  


Current Time: Sat Apr 20 01:21:36 GMT 2024

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

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

Back to the top