Hi everyone,
I just updated to TRUNK rev 1231656, after building and started the server it always has the following error, and no pages can be visited. Did I do anything wrong or has anyone else got similar problem? Thanks. 2012-01-16 11:42:43,287 (main) [ ContainerLoader.java:223:INFO ] [Startup] Starting containers... 2012-01-16 11:42:43,693 (main) [ GenericDispatcher.java:69 :INFO ] Creating new dispatcher [RMIDispatcher] (main) Exception in thread "main" java.lang.NoSuchFieldError: omitTermFreqAndPositions at org.apache.jackrabbit.core.query.lucene.IDField.<init>(IDField.java:40) at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:215) at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:1191) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:863) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:878) at org.apache.jackrabbit.core.query.lucene.MultiIndex$AddNode.execute(MultiIndex.java:1722) at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1128) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1213) at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:388) at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:547) at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78) at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationPars er.java:646) at org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(RepositoryConfig.java:1037) at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:170) at org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:607) at org.apache.jackrabbit.core.RepositoryImpl.access$100(RepositoryImpl.java:124) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1855) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2091) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1996) at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:510) at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:318) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:582) at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232) at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280) at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376) at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123) at org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.createSession(JCRFactoryImpl.java:146) at org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.start(JCRFactoryImpl.java:100) at org.ofbiz.jcr.loader.JCRContainer.start(JCRContainer.java:129) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310) at org.ofbiz.base.start.Start.start(Start.java:289) at org.ofbiz.base.start.Start.main(Start.java:119) |
Administrator
|
Seems that we have a problem with current trunk HEAD, please update to an older revision. I suggest
1. svn up -r 1231646 2. ant clean build run Until trunk is fixed... Jacques From: "Ofbiz 开发" <[hidden email]> > Hi everyone, > > I just updated to TRUNK rev 1231656, after building and started the server > it always has the following error, and no pages can be visited. Did I do > anything wrong or has anyone else got similar problem? Thanks. > > > 2012-01-16 11:42:43,287 (main) [ ContainerLoader.java:223:INFO ] > [Startup] Starting containers... > 2012-01-16 11:42:43,693 (main) [ GenericDispatcher.java:69 :INFO ] > Creating new dispatcher [RMIDispatcher] (main) > Exception in thread "main" java.lang.NoSuchFieldError: > omitTermFreqAndPositions > at > org.apache.jackrabbit.core.query.lucene.IDField.<init>(IDField.java:40) > at > org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:215) > at > org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:1191) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:863) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex.createDocument(MultiIndex.java:878) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex$AddNode.execute(MultiIndex.java:1722) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1128) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1213) > at > org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:388) > at > org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:547) > at > org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78) > at > org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationPars > er.java:646) > at > org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(RepositoryConfig.java:1037) > at > org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:170) > at > org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:607) > at > org.apache.jackrabbit.core.RepositoryImpl.access$100(RepositoryImpl.java:124) > at > org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1855) > at > org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2091) > at > org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1996) > at > org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:510) > at > org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:318) > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:582) > at > org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:232) > at > org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280) > at > org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376) > at > org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123) > at > org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.createSession(JCRFactoryImpl.java:146) > at > org.ofbiz.jcr.loader.jackrabbit.JCRFactoryImpl.start(JCRFactoryImpl.java:100) > at org.ofbiz.jcr.loader.JCRContainer.start(JCRContainer.java:129) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310) > at org.ofbiz.base.start.Start.start(Start.java:289) > at org.ofbiz.base.start.Start.main(Start.java:119) > |
I am still getting error, with the given revision:
prepare: [mkdir] Created dir: /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/classes [mkdir] Created dir: /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/lib classes: [javac16] Compiling 13 source files to /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/classes [javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac16] /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/src/org/ofbiz/security/OFBizSecurity.java:52: error: invalid inferred types for V; inferred type does not conform to declared bound(s) [javac16] protected static final Map<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap( [javac16] ^ [javac16] inferred: Map<String,Object> [javac16] bound(s): Map<String,String> [javac16] where V,V1,V2,V3 are type-variables: [javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) [javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) [javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) [javac16] V3 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) [javac16] 1 error [javac16] 1 warning BUILD FAILED /home/mansour/workspace/ofbiz.src/ofbiz.svn/build.xml:214: The following error occurred while executing this line: /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/build.xml:148: The following error occurred while executing this line: /home/mansour/workspace/ofbiz.src/ofbiz.svn/macros.xml:39: The following error occurred while executing this line: /home/mansour/workspace/ofbiz.src/ofbiz.svn/common.xml:91: Compile failed; see the compiler error output for details. On Sun, Jan 15, 2012 at 6:29 PM, Jacques Le Roux < [hidden email]> wrote: > Seems that we have a problem with current trunk HEAD, please update to an > older revision. I suggest > 1. svn up -r 1231646 > 2. ant clean build run > > Until trunk is fixed... > > Jacques > > From: "Ofbiz 开发" <[hidden email]> > > Hi everyone, >> >> I just updated to TRUNK rev 1231656, after building and started the server >> it always has the following error, and no pages can be visited. Did I do >> anything wrong or has anyone else got similar problem? Thanks. >> >> >> 2012-01-16 11:42:43,287 (main) [ ContainerLoader.java:223:INFO ] >> [Startup] Starting containers... >> 2012-01-16 11:42:43,693 (main) [ GenericDispatcher.java:69 :INFO ] >> Creating new dispatcher [RMIDispatcher] (main) >> Exception in thread "main" java.lang.NoSuchFieldError: >> omitTermFreqAndPositions >> at >> org.apache.jackrabbit.core.**query.lucene.IDField.<init>(** >> IDField.java:40) >> at >> org.apache.jackrabbit.core.**query.lucene.NodeIndexer.** >> createDoc(NodeIndexer.java:**215) >> at >> org.apache.jackrabbit.core.**query.lucene.SearchIndex.** >> createDocument(SearchIndex.**java:1191) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >> createDocument(MultiIndex.**java:863) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >> createDocument(MultiIndex.**java:878) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex$** >> AddNode.execute(MultiIndex.**java:1722) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >> executeAndLog(MultiIndex.java:**1128) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >> createIndex(MultiIndex.java:**1213) >> at >> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >> createInitialIndex(MultiIndex.**java:388) >> at >> org.apache.jackrabbit.core.**query.lucene.SearchIndex.** >> doInit(SearchIndex.java:547) >> at >> org.apache.jackrabbit.core.**query.AbstractQueryHandler.** >> init(AbstractQueryHandler.**java:78) >> at >> org.apache.jackrabbit.core.**config.**RepositoryConfigurationParser$** >> 1.getQueryHandler(**RepositoryConfigurationPars >> er.java:646) >> at >> org.apache.jackrabbit.core.**config.RepositoryConfig.**getQueryHandler(** >> RepositoryConfig.java:1037) >> at >> org.apache.jackrabbit.core.**SearchManager.<init>(** >> SearchManager.java:170) >> at >> org.apache.jackrabbit.core.**RepositoryImpl.**getSystemSearchManager(** >> RepositoryImpl.java:607) >> at >> org.apache.jackrabbit.core.**RepositoryImpl.access$100(** >> RepositoryImpl.java:124) >> at >> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >> getSearchManager(**RepositoryImpl.java:1855) >> at >> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >> doPostInitialize(**RepositoryImpl.java:2091) >> at >> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >> initialize(RepositoryImpl.**java:1996) >> at >> org.apache.jackrabbit.core.**RepositoryImpl.**initStartupWorkspaces(** >> RepositoryImpl.java:510) >> at >> org.apache.jackrabbit.core.**RepositoryImpl.<init>(** >> RepositoryImpl.java:318) >> at >> org.apache.jackrabbit.core.**RepositoryImpl.create(** >> RepositoryImpl.java:582) >> at >> org.apache.jackrabbit.core.**TransientRepository$2.**getRepository(** >> TransientRepository.java:232) >> at >> org.apache.jackrabbit.core.**TransientRepository.**startRepository(** >> TransientRepository.java:280) >> at >> org.apache.jackrabbit.core.**TransientRepository.login(** >> TransientRepository.java:376) >> at >> org.apache.jackrabbit.commons.**AbstractRepository.login(** >> AbstractRepository.java:123) >> at >> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >> createSession(JCRFactoryImpl.**java:146) >> at >> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >> start(JCRFactoryImpl.java:100) >> at org.ofbiz.jcr.loader.**JCRContainer.start(** >> JCRContainer.java:129) >> at >> org.ofbiz.base.container.**ContainerLoader.start(** >> ContainerLoader.java:230) >> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**310) >> at org.ofbiz.base.start.Start.**start(Start.java:289) >> at org.ofbiz.base.start.Start.**main(Start.java:119) >> >> |
Hm do you try to compile with Java1.7? I got the same error when i try
to use a current java version. With 1.6 it should work. 2012/1/16 Mansour Al Akeel <[hidden email]>: > I am still getting error, with the given revision: > > prepare: > [mkdir] Created dir: > /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/classes > [mkdir] Created dir: > /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/lib > > classes: > [javac16] Compiling 13 source files to > /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/build/classes > [javac16] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [javac16] > /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/security/src/org/ofbiz/security/OFBizSecurity.java:52: > error: invalid inferred types for V; inferred type does not conform to > declared bound(s) > [javac16] protected static final Map<String, Map<String, String>> > simpleRoleEntity = UtilMisc.toMap( > > [javac16] > ^ > [javac16] inferred: Map<String,Object> > [javac16] bound(s): Map<String,String> > [javac16] where V,V1,V2,V3 are type-variables: > [javac16] V extends Object declared in method > <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V1 extends V declared in method > <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V2 extends V declared in method > <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] V3 extends V declared in method > <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3) > [javac16] 1 error > [javac16] 1 warning > > BUILD FAILED > /home/mansour/workspace/ofbiz.src/ofbiz.svn/build.xml:214: The following > error occurred while executing this line: > /home/mansour/workspace/ofbiz.src/ofbiz.svn/framework/build.xml:148: The > following error occurred while executing this line: > /home/mansour/workspace/ofbiz.src/ofbiz.svn/macros.xml:39: The following > error occurred while executing this line: > /home/mansour/workspace/ofbiz.src/ofbiz.svn/common.xml:91: Compile failed; > see the compiler error output for details. > > > > > On Sun, Jan 15, 2012 at 6:29 PM, Jacques Le Roux < > [hidden email]> wrote: > >> Seems that we have a problem with current trunk HEAD, please update to an >> older revision. I suggest >> 1. svn up -r 1231646 >> 2. ant clean build run >> >> Until trunk is fixed... >> >> Jacques >> >> From: "Ofbiz 开发" <[hidden email]> >> >> Hi everyone, >>> >>> I just updated to TRUNK rev 1231656, after building and started the server >>> it always has the following error, and no pages can be visited. Did I do >>> anything wrong or has anyone else got similar problem? Thanks. >>> >>> >>> 2012-01-16 11:42:43,287 (main) [ ContainerLoader.java:223:INFO ] >>> [Startup] Starting containers... >>> 2012-01-16 11:42:43,693 (main) [ GenericDispatcher.java:69 :INFO ] >>> Creating new dispatcher [RMIDispatcher] (main) >>> Exception in thread "main" java.lang.NoSuchFieldError: >>> omitTermFreqAndPositions >>> at >>> org.apache.jackrabbit.core.**query.lucene.IDField.<init>(** >>> IDField.java:40) >>> at >>> org.apache.jackrabbit.core.**query.lucene.NodeIndexer.** >>> createDoc(NodeIndexer.java:**215) >>> at >>> org.apache.jackrabbit.core.**query.lucene.SearchIndex.** >>> createDocument(SearchIndex.**java:1191) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >>> createDocument(MultiIndex.**java:863) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >>> createDocument(MultiIndex.**java:878) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex$** >>> AddNode.execute(MultiIndex.**java:1722) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >>> executeAndLog(MultiIndex.java:**1128) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >>> createIndex(MultiIndex.java:**1213) >>> at >>> org.apache.jackrabbit.core.**query.lucene.MultiIndex.** >>> createInitialIndex(MultiIndex.**java:388) >>> at >>> org.apache.jackrabbit.core.**query.lucene.SearchIndex.** >>> doInit(SearchIndex.java:547) >>> at >>> org.apache.jackrabbit.core.**query.AbstractQueryHandler.** >>> init(AbstractQueryHandler.**java:78) >>> at >>> org.apache.jackrabbit.core.**config.**RepositoryConfigurationParser$** >>> 1.getQueryHandler(**RepositoryConfigurationPars >>> er.java:646) >>> at >>> org.apache.jackrabbit.core.**config.RepositoryConfig.**getQueryHandler(** >>> RepositoryConfig.java:1037) >>> at >>> org.apache.jackrabbit.core.**SearchManager.<init>(** >>> SearchManager.java:170) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.**getSystemSearchManager(** >>> RepositoryImpl.java:607) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.access$100(** >>> RepositoryImpl.java:124) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> getSearchManager(**RepositoryImpl.java:1855) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> doPostInitialize(**RepositoryImpl.java:2091) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl$WorkspaceInfo.** >>> initialize(RepositoryImpl.**java:1996) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.**initStartupWorkspaces(** >>> RepositoryImpl.java:510) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.<init>(** >>> RepositoryImpl.java:318) >>> at >>> org.apache.jackrabbit.core.**RepositoryImpl.create(** >>> RepositoryImpl.java:582) >>> at >>> org.apache.jackrabbit.core.**TransientRepository$2.**getRepository(** >>> TransientRepository.java:232) >>> at >>> org.apache.jackrabbit.core.**TransientRepository.**startRepository(** >>> TransientRepository.java:280) >>> at >>> org.apache.jackrabbit.core.**TransientRepository.login(** >>> TransientRepository.java:376) >>> at >>> org.apache.jackrabbit.commons.**AbstractRepository.login(** >>> AbstractRepository.java:123) >>> at >>> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >>> createSession(JCRFactoryImpl.**java:146) >>> at >>> org.ofbiz.jcr.loader.**jackrabbit.JCRFactoryImpl.** >>> start(JCRFactoryImpl.java:100) >>> at org.ofbiz.jcr.loader.**JCRContainer.start(** >>> JCRContainer.java:129) >>> at >>> org.ofbiz.base.container.**ContainerLoader.start(** >>> ContainerLoader.java:230) >>> at org.ofbiz.base.start.Start.**startStartLoaders(Start.java:**310) >>> at org.ofbiz.base.start.Start.**start(Start.java:289) >>> at org.ofbiz.base.start.Start.**main(Start.java:119) >>> >>> -- Sascha Rodekamp Visit the new german OFBiz Blog: http://www.ofbiz.biz Lynx-Consulting GmbH Johanniskirchplatz 6 D-33615 Bielefeld http://www.lynx.de |
Free forum by Nabble | Edit this page |