Why doesn't the Java compiler download imported packages? -
i'm trying run lucene java application on local machine. compilation error:
package org.apache.commons.digester not exist
because of
import org.apache.commons.digester.digester;
isn't compiler downloading package internet? if not, should do?
no, compiler doesn't download packages internet. build management tools maven if configure them , add package project dependencies. without such tool should download jar manually , put on compiler classpath.
Comments
Post a Comment