I am running grails 2.2.3 and installed a plugin called "newrelic:1.0-2.18.". Now i am getting the error everytime I run the project.
| Error Error loading event script from file [/Projects/Front/plugins/cached-resources-1.0/scripts/_Events.groovy] startup failed:
Could not instantiate global transform class org.spockframework.compiler.SpockTransform specified at jar:file:/home/user/.grails/ivy-cache/org.spockframework/spock-core/jars/spock-core-0.6-groovy-1.8.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.reflect.InvocationTargetException
Did you try deleting your .grails folder?
Related
I tried to use ember cli to generate local project, but when visiting localhost:4200, I met below errors:
Error occurred:
- While rendering:
-top-level
application
Uncaught Error: Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.
and ember -v gives this:
ember-cli: 3.28.4
node: 16.13.1
os: darwin x64
Please help to point out the reason.
Thanks
In your package.json change
"ember-cli-babel": "^7.26.6"
to
"ember-cli-babel": "7.26.6"
the credit for the answer goes to the Ember community on Discord
recently I'm learning jacocoagent,
I used the following command to start my project,
```nohup java -javaagent:/root/qa_charlyne/jacocoagent.jar=includes=*,output=file,destfile=/root/qa_charlyne/jacoco.exec -jar diff-code-coverage.jar > difflog.txt 2>&1```
but i failed to start up jacocoagent.jar:
Failed to find Premain-Class manifest attribute in /root/qa_charlyne/org.jacoco.agent-0.8.5.jar
Error occurred during initialization of VM
agent library failed to init: instrument
i don't know why ,i need help
The jacoco jar file without classifier from maven repo (ex. org.jacoco.agent-0.8.5.jar) is not the one that should be used as an agent.
Instead use the one with "runtime" classifier (ex. org.jacoco.agent-0.8.5-runtime.jar).
Link to central maven repo: https://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.5/
I have a small app that requires rJava as a dependency to send email using mailR package.
Unfortunately, when I try to deploy the app to Shinyapps, it throw an error and terminate with this error message:
error: Unhandled Exception: HTTP 599: Timeout during request
Is there any workarounad to use rJava on Shineyapps?
Instead of loading "rJava", I simply loaded "mailR". It works fine, still no solution to load "rJava".
I am getting the following exception when deploying stream with hdfs as sink in spring-xd.
Error creating bean with name 'hadoopConf iguration': Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/JobConf
I have my spring-xd app running on yarn successfully. Appreciate your help.
The problem is with the configuration in siteMapreduceAppClassPath in servers.yml. The classpath should include the path of hadoop-core jar, as the jar is not included the app it is giving NoClassDefFoundError.
CFoundry::AppStagingError: 310: Staging failed: 'Staging task failed:
Staging plugin failed: /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/
vcap_staging-0.1.63/lib/vcap/staging/plugin/java_web/plugin.rb:28:in block in s
tage_application': Web application staging failed: web.xml not found (RuntimeErr
or)
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_stagin
g-0.1.63/lib/vcap/staging/plugin/java_web/plugin.rb:22:inchdir'
from /var/vcap/packages/stager/vendor/bundle/ruby/1.9.1/gems/vcap_stagin
g-0.1.63/lib/vcap/staging/plugin/java_web/plugin.rb:22:in stage_application'
from /var/vcap/packages/stager/bin/run_plugin:19:in'
'
For more information, see ~/.vmc/crash
This is the error i'm getting whenever i run the vmc push command when trying to deploy any java files or .war files in windows. After running this command, i can see that the file is uploaded on the cloud but it never runs correctly. I experience almost the same error when i try to run through java/spring or any other framework.
Someone please help me with this issue.