Hello Everyone, After updating sftp module in my app, while compiling triggered with below java action compilation error Buildfile: D:\practice\tSystems-ReusableComponent_Rev523\deployment\build_core.xml compile: [javac] Compiling 485 source files to D:\practice\PostFabManagementSystems-PostFabBulgarian_ReusableComponent_Rev523\deployment\run\bin [javac] Processing annotations [javac] Annotations processed [javac] Processing annotations [javac] No elements to process [javac] D:\practice\PostFabManagementSystems-PostFabBulgarian_ReusableComponent_Rev523\javasource\sftp\actions\GetHostKey.java:81: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] D:\practice\PostFabManagementSystems-PostFabBulgarian_ReusableComponent_Rev523\javasource\sftp\impl\SFTP.java:323: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 2 errors BUILD FAILED D:\practice\PostFabManagementSystems-PostFabBulgarian_ReusableComponent_Rev523\deployment\build_core.xml:30: Compile failed; see the compiler error output for details. Total time: 15 seconds Does someone maybe know how to resolve this problem? Thanks in Advance!!
Did you try cleaning up your userlib folder in your project folder? (remove duplicate jar files from older versions). This action is often necessary when upgrading a module.
Ruben de Roos
Because it is pointing to the @ symbol it must be due to the wrong JDK version setup either in the Studio Pro or if you have opened the project in Eclipse like IDE.
Check the JDK version and make sure you set it up as per the Studio Pro version documentation.
Thanks for your response, removed duplicate jar files and @override from error shown file it’s working fine now !!