hi,
i have some imports in my class file

import com.xyz.auto.common.ui.URObject;
import com.xyz.auto.common.utils.AutoScript;

in the above code, the URObject class is in a jar file called uis.jar
the AutoScript class is in a folder structure [com->xyz->auto->common->utils].
during compiling it is showing "com.xyz.auto.common.ui " package is missing.
but i have added that jar in the classpath.
Is it a package conflict since i have similar package name in both folder structure and jar file?

Recommended Answers

All 2 Replies

apparently you haven't added it to the classpath after all.

yes i made a mistake while adding it to the class path.
thanks jwenting.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.