XPAGES: Build path contains duplicate entry: 'org.eclipse.jdt.launching.JRE_CONTAINER' -


i trying run xpage locally (in chrome if makes difference) local nsf , receiving error:

build path contains duplicate entry: 'org.eclipse.jdt.launching.jre_container'

i have copied extlib features , plugins correct directories required.

anonymous set author.

i cannot find information on how resolve this. there open ticket on openntf 6 years ago no resolution.

[update]

as jesse gallagher pointed out on twitter, can access .classpath file without going through odp setup via navigator perspective. still recommend setting source control since gives you:

  • local change history in dde (even if don't use odp in git/hg)
  • the ability track changing file during development, aka- rogue change .classpath file (i recommend installing cameron gregor's swiper plugin)
  • is easy set up
  • as developer, version control the best way cover butt

dotclasspath file accessible via navigator perspective

[/update]

i believe quite literally have duplicate entry in nsf's build class path. has eclipse version domino designer based on being confused defined class path. recommend following:

  • if don't have set already, set source control nsf
  • open (hidden) file .classpath, can found in root of on disk project (odp) folder trusty text editor (notepad++, etc.)
  • search org.eclipse.jdt.launching.jre_container
  • if find more one, need deconflict class path (aka- remove one; may best make backup of file)
  • if don't have "build automatically" checked (in project menu), may need open package explorer , right-click odp, perform "sync nsf"

you should able de-conflict build path via project > build path screen, easy way search whole thing in 1 shot.

here's example .classpath file working app. example of correctly defined class path, no duplicates

an example of a situation others (using gradle, in case) ran into duplicate issue org.eclipse.jdt.launching.jre_container. example of class path file duplicate entry org.eclipse.jdt.launching.jre_container

setting source control nsf, right-click nsf, team development, set source control: setting source control

note: if need little more info on how set source control or want know more park odp (aka- if haven't done before), recommend checking out david leedy's notes in 9 episode 131: using sourcetree better xpages source control. if don't use sourcetree, it's worth understand odp should not placed in notes data directory, etc.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -