Import problem in Birt Chart engine [message #148015] |
Sat, 25 March 2006 08:06 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: tarkeshwar26.yahoo.co.in
hi,
can some one please help me. i can compile even a very basic java file
usin birt. i hava set the class paths in my pc. theis are:
C:\Chart_lib\common.jar;C:\Chart_libcommon.resources.jar;C:\ Chart_lib\core.jar;
C:\Chart_lib\device-extension.jar;C:\Chart_lib\device-svg.ja r;C:\Chart_lib\ecore.jar;
C:\Chart_lib\ecore.resources.jar;C:\Chart_lib\ecore.xmi.jar; C:\Chart_lib\engine.jar;
C:\Chart_lib\engine-extension.jar;C:\Chart_lib\js.jar
BUT then also i can not comile this code:
import org.eclipse.birt.chart.*;
import org.eclipse.birt.chart.model.impl;
import org.eclipse.birt.chart.engine.*;
import org.eclipse.birt.chart.engine.extension.*;
import org.eclipse.birt.chart.device.extension.*;
import org.eclipse.birt.chart.shared.*;
import org.eclipse.birt.core.*;
public class Chartt{
public static void main(String[]args){
ChartWithAxes cwaEmpty = ChartWithAxesImpl.create();
cwaEmpty.getTitle().getLabel().getCaption().setValue("Hello Chart");
}
}
i got the following errors
C:\Chart>javac Chartt.java
Chartt.java:1: package org.eclipse.birt.chart does not exist
import org.eclipse.birt.chart.*;
^
Chartt.java:2: package org.eclipse.birt.chart.model does not exist
import org.eclipse.birt.chart.model.impl;
^
Chartt.java:3: package org.eclipse.birt.chart.engine does not exist
import org.eclipse.birt.chart.engine.*;
^
Chartt.java:4: package org.eclipse.birt.chart.engine.extension does not
exist
import org.eclipse.birt.chart.engine.extension.*;
^
Chartt.java:5: package org.eclipse.birt.chart.device.extension does not
exist
import org.eclipse.birt.chart.device.extension.*;
^
Chartt.java:6: package org.eclipse.birt.chart.shared does not exist
import org.eclipse.birt.chart.shared.*;
^
Chartt.java:7: package org.eclipse.birt.core does not exist
import org.eclipse.birt.core.*;
^
Chartt.java:12: cannot find symbol
symbol : class ChartWithAxes
location: class Chartt
ChartWithAxes cwaEmpty = ChartWithAxesImpl.create();
^
Chartt.java:12: cannot find symbol
symbol : variable ChartWithAxesImpl
location: class Chartt
ChartWithAxes cwaEmpty = ChartWithAxesImpl.create();
^
9 errors
C:\Chart>
PLEASE SOME ONE HELP ME AND GIVE A SAMPLE PROGRAM FOR CREATING A CHAT .
WITHH ALL THE IMPORTS AND ANY SPECIAL THING THAT MAY REQUIRE TO RUN THAT
PROGRAM.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02622 seconds