GithubHelp home page GithubHelp logo

Comments (4)

llybin avatar llybin commented on August 23, 2024

sudo docker build . -f Dockerfile.mariadb

doesn't compile..

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 430 source files to /app/target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /app/src/brs/http/APIServlet.java: Some input files use or override a deprecated API.
[WARNING] /app/src/brs/http/APIServlet.java: Recompile with -Xlint:deprecation for details.
[WARNING] /app/src/brs/db/sql/EntitySqlTable.java: Some input files use unchecked or unsafe operations.
[WARNING] /app/src/brs/db/sql/EntitySqlTable.java: Recompile with -Xlint:unchecked for details.
[WARNING] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
[INFO] 5 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /app/src/brs/BurstGUI.java:[5,26] package javafx.application does not exist
[ERROR] /app/src/brs/BurstGUI.java:[6,26] package javafx.application does not exist
[ERROR] /app/src/brs/BurstGUI.java:[7,20] package javafx.scene does not exist
[ERROR] /app/src/brs/BurstGUI.java:[8,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[9,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[10,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[11,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[12,20] package javafx.stage does not exist
[ERROR] /app/src/brs/BurstGUI.java:[24,31] cannot find symbol
  symbol: class Application
[ERROR] /app/src/brs/BurstGUI.java:[34,20] cannot find symbol
  symbol:   class Stage
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[45,23] cannot find symbol
  symbol:   class Stage
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[40,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[41,9] cannot find symbol
  symbol:   method launch(java.lang.String[])
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[44,5] method does not override or implement a method from a supertype
[ERROR] /app/src/brs/BurstGUI.java:[48,13] method does not override or implement a method from a supertype
[ERROR] /app/src/brs/BurstGUI.java:[50,35] incompatible types: int cannot be converted to java.lang.String
[ERROR] /app/src/brs/BurstGUI.java:[53,39] incompatible types: int cannot be converted to java.lang.String
[ERROR] /app/src/brs/BurstGUI.java:[55,17] cannot find symbol
  symbol: method positionCaret(int)
[ERROR] /app/src/brs/BurstGUI.java:[60,35] cannot find symbol
  symbol:   class Scene
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[61,59] package javafx.scene.image does not exist
[ERROR] /app/src/brs/BurstGUI.java:[61,66] cannot find symbol
  symbol:   method getClass()
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[116,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[120,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[161,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[166,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[176,9] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[178,33] cannot find symbol
  symbol:   class Alert
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[178,44] package Alert does not exist
[ERROR] /app/src/brs/BurstGUI.java:[178,71] cannot find symbol
  symbol:   variable ButtonType
  location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[179,19] cannot find symbol
  symbol:   method setGraphic(<nulltype>)
  location: variable dialog of type java.awt.Dialog
[ERROR] /app/src/brs/BurstGUI.java:[180,19] cannot find symbol
  symbol:   method setHeaderText(<nulltype>)
  location: variable dialog of type java.awt.Dialog
[ERROR] /app/src/brs/BurstGUI.java:[213,21] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI.TextAreaOutputStream
[ERROR] /app/src/brs/BurstGUI.java:[226,17] cannot find symbol
  symbol:   variable Platform
  location: class brs.BurstGUI.BurstGUISecurityManager
[INFO] 33 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  53.808 s
[INFO] Finished at: 2019-06-12T11:30:14Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "headlessBuild" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project burstcoin: Compilation failure: Compilation failure: 
[ERROR] /app/src/brs/BurstGUI.java:[5,26] package javafx.application does not exist
[ERROR] /app/src/brs/BurstGUI.java:[6,26] package javafx.application does not exist
[ERROR] /app/src/brs/BurstGUI.java:[7,20] package javafx.scene does not exist
[ERROR] /app/src/brs/BurstGUI.java:[8,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[9,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[10,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[11,28] package javafx.scene.control does not exist
[ERROR] /app/src/brs/BurstGUI.java:[12,20] package javafx.stage does not exist
[ERROR] /app/src/brs/BurstGUI.java:[24,31] cannot find symbol
[ERROR]   symbol: class Application
[ERROR] /app/src/brs/BurstGUI.java:[34,20] cannot find symbol
[ERROR]   symbol:   class Stage
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[45,23] cannot find symbol
[ERROR]   symbol:   class Stage
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[40,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[41,9] cannot find symbol
[ERROR]   symbol:   method launch(java.lang.String[])
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[44,5] method does not override or implement a method from a supertype
[ERROR] /app/src/brs/BurstGUI.java:[48,13] method does not override or implement a method from a supertype
[ERROR] /app/src/brs/BurstGUI.java:[50,35] incompatible types: int cannot be converted to java.lang.String
[ERROR] /app/src/brs/BurstGUI.java:[53,39] incompatible types: int cannot be converted to java.lang.String
[ERROR] /app/src/brs/BurstGUI.java:[55,17] cannot find symbol
[ERROR]   symbol: method positionCaret(int)
[ERROR] /app/src/brs/BurstGUI.java:[60,35] cannot find symbol
[ERROR]   symbol:   class Scene
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[61,59] package javafx.scene.image does not exist
[ERROR] /app/src/brs/BurstGUI.java:[61,66] cannot find symbol
[ERROR]   symbol:   method getClass()
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[116,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[120,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[161,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[166,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[176,9] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[178,33] cannot find symbol
[ERROR]   symbol:   class Alert
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[178,44] package Alert does not exist
[ERROR] /app/src/brs/BurstGUI.java:[178,71] cannot find symbol
[ERROR]   symbol:   variable ButtonType
[ERROR]   location: class brs.BurstGUI
[ERROR] /app/src/brs/BurstGUI.java:[179,19] cannot find symbol
[ERROR]   symbol:   method setGraphic(<nulltype>)
[ERROR]   location: variable dialog of type java.awt.Dialog
[ERROR] /app/src/brs/BurstGUI.java:[180,19] cannot find symbol
[ERROR]   symbol:   method setHeaderText(<nulltype>)
[ERROR]   location: variable dialog of type java.awt.Dialog
[ERROR] /app/src/brs/BurstGUI.java:[213,21] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI.TextAreaOutputStream
[ERROR] /app/src/brs/BurstGUI.java:[226,17] cannot find symbol
[ERROR]   symbol:   variable Platform
[ERROR]   location: class brs.BurstGUI.BurstGUISecurityManager
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
The command '/bin/sh -c mvn -DskipTests=true -P headlessBuild package' returned a non-zero code: 1

from signum-node.

harryjph avatar harryjph commented on August 23, 2024

You need JavaFX or to run with the correct profile, which I accidentally removed

from signum-node.

llybin avatar llybin commented on August 23, 2024

what problem you want to solve by the task?

from signum-node.

harryjph avatar harryjph commented on August 23, 2024

by what task? this issue? I want to ensure that docker builds properly as part of CI which was integrated a while ago, so this issue should be closed

from signum-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.