I am new to Talend. I am trying to read a CSV file that is encoded in UTF-8. When I try to create a new file delimited, I am getting the following error.
The type java.lang.Object cannot be resolved. It is indirectly
referenced from required .class files
What could be causing the issue?
Appreciate your help.
This looks like a JDK/JRE library error.
In your studio, Navigate to
Window >> Preferences >> Java >> Installed JREs
, and then select the jre1.8.0_*** from java install path.
Related
How do I fix the error "The eclipse executable launcher was unable to locate its companion shared library" on Windows 10. I wasn't able to find it elsewhere and I would appreciate it if someone can explain it to me in layman's terms. TIA
This type of error message, ofter, occurs when Eclipse bundle that you downloaded was not correctly unzipped.
Try to simply delete the Eclipse folder and then extract it again with a well known unzip tool (have a look at the extension of the file, if it's tar, rar or zip and use a extract tool that supports it).
Finally you can try running eclipse.exe
I have a batch file that creates Javadoc for me but I am getting this error: javadoc: error - No source files for package [package name]. The part of the batch file for the doc just provides a -sourcepath, a -classpath and a -subpackages argument. However, if I try to create my Javadoc with Eclipse (file -> export -> javadoc) it works perfectly fine without any errors. Anyone here knows how Eclipse generates Javadoc so I can implement it into my batch file?
To get the arguments that are used by Eclipse:
Create a batch file containing echo %1 > "C:\path\to\javadoc_arg.txt"
In the Javadoc export wizard choose this batch file instead of the javadoc.exe and generate the Javadoc
This will create a javadoc_arg.txt file that contains the file path of a javadoc-arguments<number>.tmp file containing all the arguments for javadoc.exe used by Eclipse.
I'm using CDT plugin for eclipse for C/C+ development. But i'm not able to compile code it shows following error LINK : fatal error LNK1104: cannot open file 'C:\Program.obj'
What could be reasons?
One workaround would be to make sure to get your sources and generate your object files in a path with no space (not like "C:\Program Files (x86)\...")
The other workaround would be to check in the settings of the project if you can add double-quotes around any path defined. Check also the content of the .project file itself.
I'm writing an application in Java that does some processing on arbitrary .java files. I'm using Eclipse, and when there's part of a .java file that it doesn't understand, I print out to the System.err stream:
System.err.format("Unable to resolve name %s (%s:%d)\n",
node.getName(), node.filePath(), node.getStartLine());
So it will print out something like this:
Unable to resolve name Foo (C:\project\src\Project\bar.java:63)
And the Eclipse console puts a link on the path and line part of the error. When I try to click on it, it says:
Source not found for C
I assume that's because Eclipse is only looking at source files in the project I'm running, not in the arbitrary .java file I'm processing. Is there any way to make it actually open that file and go to that line?
Unfortunately, the answer is no. Eclipse will only match the files against the resources in the workspace.
I've tried exporting from the Eclipse 3.4 Keys pref pane, but this creates a .csv file and Eclipse 3.6 only seems to want to import .epf files (via File -> Import...). Is there any way to do this?
Sadly, Eclipse 3.6 (and probably older versions) cannot import key bindings from CSV files. If you have only a .csv file of the key bindings and you're not able to re-export those bindings as a .epf, you are completely out of luck.
As most people would expect, changing the file extension from .csv to .epf will not work. EPF files contain XML, while CSV files are, well, comma-separated values. One could probably write a program to convert the CSV to EPF, but I've not seen one already available.
There is a similar question at Import Emacs Keyboard Configuration Into Eclipse?
It worked for me on upgrading from 3.6 to 3.7 version of Eclipse.
Use: File->export->General and select 'Keys Preferences'
and
File -> import -> General
File > Export has the ability to export preferences and you should be able to export in 3.4 and import into 3.6 without issue.
If the traditional way of doing it via the File->Export->Preferences->Keys doesn't work for you, then you can try the following.
Look for the preferences found at:
/.metadata/.plugins/org.eclipse.core.runtime
That folder contains, among other things, the key bindings.. If you happened to back up your Eclipse 3.4 settings found in org.eclipse.core.runtime you can give it a shot.
You should first experiment with this approach to see if it works for you.
Regards.