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
.classpathfile (i recommend installing cameron gregor's swiper plugin) - is easy set up
- as developer, version control the best way cover butt
[/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. 
an example of a situation others (using gradle, in case) ran into duplicate issue org.eclipse.jdt.launching.jre_container. 
setting source control nsf, right-click nsf, team development, set 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
Post a Comment