Skip to content

Project Compilation Failure #2

Description

@M3ssman

Hello,

when I cloned the Repository and run mvn clean package, the Maven Process fails at compilation stage with nearly 40 Errors

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ PlantPlaces ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 27 source files to /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/target/classes
[INFO] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/HibernateUtil.java: /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/HibernateUtil.java uses or overrides a deprecated API.
[INFO] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/HibernateUtil.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/PlantHbmDAO.java: Some input files use unchecked or unsafe operations.
[INFO] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/PlantHbmDAO.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dto/Specimen.java:[3,24] package javax.faces.bean does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dto/Plant.java:[6,24] package javax.faces.bean does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dto/Plant.java:[13,2] cannot find symbol
  symbol: class ManagedBean
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[7,24] cannot find symbol
  symbol:   class ManagedBean
  location: package javax.annotation
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[8,31] package javax.faces.application does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[9,27] package javax.faces.context does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[23,2] cannot find symbol
  symbol: class ManagedBean
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[3,24] cannot find symbol
  symbol:   class ManagedBean
  location: package javax.annotation
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[4,31] package javax.faces.application does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[5,27] package javax.faces.context does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[16,2] cannot find symbol
  symbol: class ManagedBean
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SearchPlants.java:[7,24] cannot find symbol
  symbol:   class ManagedBean
  location: package javax.annotation
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SearchPlants.java:[8,27] package javax.faces.context does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SearchPlants.java:[19,2] cannot find symbol
  symbol: class ManagedBean
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/PlantJSONServlet.java:[7,24] cannot find symbol
  symbol:   class ManagedBean
  location: package javax.annotation
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/ApplicationInfo.java:[3,24] package javax.faces.bean does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/ApplicationInfo.java:[9,2] cannot find symbol
  symbol: class ManagedBean
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/FileDAO.java:[11,46] package org.apache.tomcat.util.http.fileupload does not exist
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[81,46] cannot access javax.faces.event.AjaxBehaviorEvent
  class file for javax.faces.event.AjaxBehaviorEvent not found
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[90,25] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[110,13] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[110,40] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[111,13] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[121,21] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[121,48] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[122,21] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[126,21] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[126,48] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SpecimenVO.java:[127,21] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.SpecimenVO
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[35,17] cannot find symbol
  symbol:   class FacesContext
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[35,48] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[43,25] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[43,47] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[43,60] cannot find symbol
  symbol:   variable FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[54,25] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[54,47] cannot find symbol
  symbol:   class FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/AddPlant.java:[54,60] cannot find symbol
  symbol:   variable FacesMessage
  location: class com.plantplaces.ui.AddPlant
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/ui/SearchPlants.java:[88,25] cannot find symbol
  symbol:   variable FacesContext
  location: class com.plantplaces.ui.SearchPlants
[ERROR] /home/uwehartwig/Work/github-extern/JavaFullStackEnterpriseWeb/PlantPlaces/src/com/plantplaces/dao/FileDAO.java:[30,17] cannot find symbol
  symbol:   variable IOUtils
  location: class com.plantplaces.dao.FileDAO
[INFO] 39 errors 

Looks like there are some Dependencies missing in the POM-File?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions