Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultipleCompilationErrorsException: startup failed #331

Closed
sinharitika07 opened this issue Aug 12, 2020 · 2 comments
Closed

MultipleCompilationErrorsException: startup failed #331

sinharitika07 opened this issue Aug 12, 2020 · 2 comments

Comments

@sinharitika07
Copy link

We are facing issues while loading archiveOldArtifacts.groovy plugin in Artifactory enterprise 6.19.0. Below is the error.

org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy270.init(Unknown Source)
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:274)
at org.artifactory.spring.ArtifactoryApplicationContext.(ArtifactoryApplicationContext.java:154)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:211)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$200(ArtifactoryContextConfigListener.java:67)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:92)
2020-08-11 14:30:35,843 [art-init] [INFO ] (o.a.a.p.GroovyRunnerImpl:301) - Loading script from 'archiveOldArtifacts.groovy'.
2020-08-11 14:30:35,849 [art-init] [ERROR] (o.a.a.p.GroovyRunnerImpl:349) - Error loading script from '/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy'.
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy: 6: unexpected token: < @ line 6, column 1.

^

1 error

@arturo-aparicio
Copy link
Contributor

Unable to reproduce in the specified version. Did you verify that you copied the contents of the plugin correctly?

@fluxxBot
Copy link
Contributor

I appreciate you bringing this to our attention but I am unable to reproduce this issue in the given artifactory version still I recommend updating to the most recent Artifactory version. For the time being, we'll close this, but please feel free to revive it if you have any further queries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants