jtmelton / appsensor

A toolkit for building self-defending applications through real-time event detection and response
http://appsensor.org/
MIT License
278 stars 102 forks source link

Error: while building appsensor ui #105

Open Shamsi12 opened 4 years ago

Shamsi12 commented 4 years ago

I am facing error while running 7 step.

Start AppSensorUI

go to this directory: https://github.com/jtmelton/appsensor/tree/master/appsensor-ui run this command: mvn spring-boot:run -DAPPSENSOR_REST_REPORTING_ENGINE_URL=http://localhost:8085 -DAPPSENSOR_CLIENT_APPLICATION_ID_HEADER_NAME=X-Appsensor-Client-Application-Name2 -DAPPSENSOR_CLIENT_APPLICATION_ID_HEADER_VALUE=myclientapp -DAPPSENSOR_WEB_SOCKET_HOST_URL=ws://localhost:8085/dashboard -Dspring.datasource.url=jdbc:mysql://localhost/appsensor -Dspring.datasource.username=appsensor_user -Dspring.datasource.password=appsensor_pass i.

I don't familiar with the error it might be some sort of exception being generated when i run this command.I have followed all step clearly and completely. Kindly, give solution, i am setting the screenshot of the error below. IMG-20200225-WA0007

IMG-20200225-WA0009

jtmelton commented 4 years ago

I'm honestly not sure what the error is. Can you paste the exception as text instead of a screenshot?

Shamsi12 commented 4 years ago

sure. first a fall this came

[WARNING]

java.lang.reflect.InvocationTargetException then

Caused by: java.lang.AbstractMethodError: ch.qos.logback.classic.pattern.EnsureExceptionHandling.process(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V

after that build failure

Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.2.6.RELEASE:run (default-cli) on project appsensor-ui: An exception occured while running. null: InvocationTargetException: ch.qos.logback.classic.pattern.EnsureExceptionHandling.process(Lch/qos/logback/core/Context;Lch/qos/logback/core/pattern/Converter;)V