Skip to content

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

Open
@jjrobotham

Description

@jjrobotham

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions