Skip to content

error #1

@leejunghan

Description

@leejunghan

Hi I'm Jung-Han Lee.
I compiled the Testing.java in the test folder. But I can't fix the error.
Could you help me please?

C:\Users\LJH-PC\Downloads\NC2KML-master\NC2KML-master

NC2KML-master
-> lib
-> release
-> src
->test


Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\LJH-PC>cd C:\Users\LJH-PC\Downloads\NC2KML-master\NC2KML-master\test\ne
tcdftokml\test

C:\Users\LJH-PC\Downloads\NC2KML-master\NC2KML-master\test\netcdftokml\test>java
c Testing.java
Testing.java:9: error: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
Testing.java:10: error: package org.apache.log4j does not exist
import org.apache.log4j.PropertyConfigurator;
^
Testing.java:12: error: package ucar.nc2.dataset does not exist
import ucar.nc2.dataset.NetcdfDataset;
^
Testing.java:13: error: package es.socib.netcdftokml does not exist
import es.socib.netcdftokml.AdditionalInfo;
^
Testing.java:14: error: package es.socib.netcdftokml does not exist
import es.socib.netcdftokml.DeploymentInfo;
^
Testing.java:15: error: package es.socib.netcdftokml does not exist
import es.socib.netcdftokml.KmlManager;
^
Testing.java:16: error: package es.socib.netcdftokml does not exist
import es.socib.netcdftokml.KmlManagerException;
^
Testing.java:23: error: cannot find symbol
private static Logger logger = Logger.getLogger(Testing.class.getSimpleN
ame());
^
symbol: class Logger
location: class Testing
Testing.java:23: error: cannot find symbol
private static Logger logger = Logger.getLogger(Testing.class.getSimpleN
ame());
^
symbol: variable Logger
location: class Testing
Testing.java:34: error: cannot find symbol
InputStream stream = KmlManager.class.getResourceAsStream("/log4
j_kmz.properties");
^
symbol: class KmlManager
location: class Testing
Testing.java:41: error: cannot find symbol
PropertyConfigurator.configure(properties);
^
symbol: variable PropertyConfigurator
location: class Testing
Testing.java:65: error: cannot find symbol
DeploymentInfo deploymentInfo = DeploymentInfo.createDep
loymentInfo("1 day since 2011-09-07 00:00:00", "3.400", "39.200");
^
symbol: class DeploymentInfo
location: class Testing
Testing.java:65: error: cannot find symbol
DeploymentInfo deploymentInfo = DeploymentInfo.createDep
loymentInfo("1 day since 2011-09-07 00:00:00", "3.400", "39.200");
^
symbol: variable DeploymentInfo
location: class Testing
Testing.java:66: error: cannot find symbol
AdditionalInfo additionalInfo = new AdditionalInfo(deplo
ymentInfo, null, null, false);
^
symbol: class AdditionalInfo
location: class Testing
Testing.java:66: error: cannot find symbol
AdditionalInfo additionalInfo = new AdditionalInfo(deplo
ymentInfo, null, null, false);
^
symbol: class AdditionalInfo
location: class Testing
Testing.java:67: error: cannot find symbol
KmlManager kmlManager = new KmlManager(NetcdfDataset.ope
nDataset(netCdfFileLocation), additionalInfo, kmlFileLocation);
^
symbol: class KmlManager
location: class Testing
Testing.java:67: error: cannot find symbol
KmlManager kmlManager = new KmlManager(NetcdfDataset.ope
nDataset(netCdfFileLocation), additionalInfo, kmlFileLocation);
^
symbol: class KmlManager
location: class Testing
Testing.java:67: error: cannot find symbol
KmlManager kmlManager = new KmlManager(NetcdfDataset.ope
nDataset(netCdfFileLocation), additionalInfo, kmlFileLocation);
^
symbol: variable NetcdfDataset
location: class Testing
Testing.java:69: error: cannot find symbol
} catch (KmlManagerException e) {
^
symbol: class KmlManagerException
location: class Testing
19 errors

C:\Users\LJH-PC\Downloads\NC2KML-master\NC2KML-master\test\netcdftokml\test>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions