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

Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ #51

Open
jjrobotham opened this issue May 19, 2020 · 0 comments
Open

Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ #51

jjrobotham opened this issue May 19, 2020 · 0 comments

Comments

@jjrobotham
Copy link

We are receiving this error:

[ERROR] Failed to execute goal com.contrastsecurity:contrast-maven-plugin:2.0:verify (verify-with-contrast) on project content-receiver-service: 
Execution verify-with-contrast of goal com.contrastsecurity:contrast-maven-plugin:2.0:verify failed: java.lang.IllegalStateException: 
Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.contrastsecurity:contrast-maven-plugin:2.0:verify 
(verify-with-contrast) on project content-receiver-service: Execution verify-with-contrast of goal com.contrastsecurity:contrast-maven-plugin:2.0:verify failed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $

This is when using the maven plugin to connect to Our Contrast Security
Following the docs here: https://docs.contrastsecurity.com/tools-build.html#maven

Our setup:
Maven:

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"
julianrobotham@Julians-MacBook-Air content-receiver-service % 

Java:

java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)
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

1 participant