CREATE TABLE data ( id serial PRIMARY KEY NOT NULL, key varchar(100) NOT NULL, value varchar(250) NOT NULL);
--module-path target/lib \
--add-modules=javafx.controls,javafx.base,javafx.graphics,commons.configuration,commons.csv,org.apache.logging.log4j
javafx.fxml.LoadException: No controller specified
package com.example.testmenu;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TableView;
import javafx.stage.Stage;
public class HelloController {
@FXML
private Button btnAdd;
...
<BorderPane
fx:controller="com.example.testmenu.HelloController"
maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
>
RUN chmod 777 /tmp/upload
FROM tomcat:8.5.27-jre8-alpine
ENV CATALINA_HOME="/usr/local/tomcat"
ARG CATALINA_HOME=${CATALINA_HOME}
RUN mkdir ${CATALINA_HOME}/webapps/manual
ADD "src/main/webapp/index.html" ${CATALINA_HOME}/webapps/manual
# will create a app 'manual'
EXPOSE 8080
ENTRYPOINT ${CATALINA_HOME}/bin/catalina.sh run
${CATALINA_HOME}/webapps/ROOT
curl -s http://localhost:8080/
src/main/webapp/
это стандарнтне место статика в проекте (спринг)-v $(pwd)/data:/data:rw
/data
у вашего пользователя нет как скорее всего не существует и самого каталога /data
@JsonNaming
annotation is used to choose the naming strategies for properties in serialization, overriding the default. Using the value element, we can specify any strategy, including custom ones.ResultSet resultSet = statement.executeQuery("SELECT count(*) as cnt FROM customers WHERE name = 'Bob' AND purchase = 'bike'");
resultSet.next(); // not first() with PGSL JDBC it is forward only cursor
final int cnt = resultSet.getInt(1);
System.out.println("cnt: " + cnt);
String query = "SELECT count(*) <> 0 FROM accounts WHERE username = 'bob';";
System.out.println("Executing count query: " + query);
ResultSet resultSet = connection.createStatement().executeQuery(query);
resultSet.next();
final boolean status = resultSet.getBoolean(1);
System.out.println("status: " + status);
diagnostics.jvm.garbage.collector.percent
и др. это jvm $CATALINA_HOME/bin/setenv.sh
export JAVA_OPTS= ...
-D
cat /usr/local/tomcat/bin/setenv.sh
export JAVA_OPTS="-Dlog4j2.debug=true -Dapp.env=staging -Dlog4j.configurationFile=$CATALINA_BASE/conf/log4j2.xml -Ddiagnostics.jvm.memory.check.period.secs=30 -Ddiagnostics.jvm.garbage.collector.percent=30 -
Ddiagnostics.jvm.garbage.collector.monitoring.period.secs=30"
wait.Until(x => {
var size =
x.FindElement(By.CssSelector(selector)).GetAttribute("value").Length;
if (size >= 5) {
return true;
} else {
Console.Error.Write("waiting for specific text length");
return false;
}
});
readlink $(which nest)
../../../Users//.config/yarn/global/node_modules/.bin/nest
file ../../../Users/userName/.config/yarn/global/node_modules/.bin/nest
../../../Users/userName/.config/yarn/global/node_modules/.bin/nest: cannot open `../../../Users/userName/.config/yarn/global/node_modules/.bin/nest' (No such file or directory)
/usr/local/bin/nest
ln -fs "правильный путь" /usr/local/bin/nest