Search code examples
javagwtmaven

Could not initialize repository... Unknown repository format "null"; expected "0"


I am getting this error when i try to run Maven Install my proejct, or run my application

 Could not initialize repository... Unknown repository format "null"; expected "0"

I have just import the project from repository and its start showing this error I've google but no Luck.

also here's an error in my application

The container 'Maven Dependencies' references non existing library 'C:\Users\wageeha junaid\git\Quran-Sementic-Search-Engine\qsse\target\javax.validation-validation-api-1.0.0.GA-sources.jar'  qsse        Build path  Build Path Problem



Could not initialize repository... (pl.project13.maven:git-commit-id- plugin:1.5:revision:default:generate-sources) pom.xml /qsse   line 315    Maven Build Problem

Any idea what could be the reason Thanks


Solution

  • In each project you import into Eclipse, Eclipse makes some files on filesystem - .project, .classpath, a folder .settings, ... . It seems that Eclipse doesn't update these correctly.

    The answer is to right-click on a project and pick Maven/Update Snapshots.