org.junit.ComparisonFailure

expected:<[]\path\to\the\pom\src...> but was:<[C:]\path\to\the\pom\src...>

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web565

  • via Unknown by Matej Spiller-Muys,
  • via Unknown by Matej Spiller-Muys,
  • Stack trace

    • org.junit.ComparisonFailure: expected:<[]\path\to\the\pom\src...> but was:<[C:]\path\to\the\pom\src...> at org.junit.Assert.assertEquals(Assert.java:125) at org.junit.Assert.assertEquals(Assert.java:147) at org.springframework.roo.project.MavenPathResolvingStrategyTest.assertIdentifier(MavenPathResolvingStrategyTest.java:76) at org.springframework.roo.project.MavenPathResolvingStrategyTest.testGetIdentifierForRootModuleWithEmptyRelativePath(MavenPathResolvingStrategyTest.java:82)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    mauritiusmauritius
    3 times, last one
    PierrePierre
    Once,
    23 more bugmates