org.junit.ComparisonFailure

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1014

  • via Spring JIRA by Matej Spiller-Muys, 1 year ago
    expected:<[]\path\to\the\pom\new...> but was:<[C:]\path\to\the\pom\new...>
  • via Spring JIRA by Matej Spiller-Muys, 1 year ago
    expected:<[]\path\to\the\pom\new...> but was:<[C:]\path\to\the\pom\new...>
  • via GitHub by torakiki
    , 1 year ago
    expected:<[/parent/path/]PDFsam_module.pdf> but was:<[c:\parent\path\]PDFsam_module.pdf>
  • Stack trace

    • org.junit.ComparisonFailure: expected:<[]\path\to\the\pom\new...> but was:<[C:]\path\to\the\pom\new...> 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.testGetIdentifierForNewModuleWithEmptyRelativePath(MavenPathResolvingStrategyTest.java:97)

    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 user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 9 hours ago
    3 times, 1 week ago
    24 more bugmates