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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -