Bem-vindo, Visitante
Nome do utilizador: Senha: Memorizar

TÓPICO: Configuração dos projectos

Configuração dos projectos 19 Dez. 2013 18:31 #7085

  • mike
  • Avatar de mike
  • Offline
  • Mensagens: 8
  • Obrigado recebido 4
Reparei há pouco numa situação.
no manifeste do projeto, encontra-se:
org.dma.eclipse.core;bundle-version="4.0.2",
org.dma.eclipse.swt;bundle-version="4.1.0",
org.dma.java.utils;bundle-version="4.2.0",
colibri.rcp;bundle-version="9.3.0",
colibri.rcp.xml.libraries;bundle-version="2.1.0"

e na pasta dropins, as versões são mais antigas, respetivamente
org.dma.eclipse.core_4.0.1.jar
org.dma.eclipse.swt_4.0.3.jar
org.dma.java.utils_4.0.2.jar
colibri.rcp_9.2.0
colibri.rcp.xml.libraries_2.0.0.jar

Parece que os plugins não estão atualizados e portanto foi tudo sacado hoje do google code.
O adminstrador desactivou a escrita pública.

Configuração dos projectos 19 Dez. 2013 17:03 #7084

  • mike
  • Avatar de mike
  • Offline
  • Mensagens: 8
  • Obrigado recebido 4
Boa tarde,

sistema operativo: W7 enterprise 64bits e OS X 10.6 64bits


Estou novamente com uns problemas, desta vez tem a ver com a API.
Portanto, segui as instruções do wiki, relativo à instalação e configuração do projeto exemplo mas não consegui colocar a funcionar.
Tentei no mac e também num portátil com windows 7, sempre com o mesmo problema.

No caso do mac, já tinha o eclipse instalado com o svn. Acrescentei o plugin BIRT e coloquei no dropins os 2 plugins indicados.
Está a dar problemas com os packages:
org.dma.eclipse.core
org.dma.eclipse.swt
org.dma.java.utils
colibri.rcp
colibri.rcp.xml.libraries
No manifest do projeto colibri.rcp.example, na tab "manifest.mf" estas 5 linhas estão marcados com o erro "unsatisfied version constraint"
Nas classes a indicação é que os imports "cannot be resolved".

Num outro thread do fórum encontrei um link para um rar do eclipse já com o ambiente de desenvolvimento preparado para a api, saquei, fiz o unrar e consegui por a funcionar sem fazer mais nada. No entanto, como era para a versão 8, fiz o checkout para atualizar os projetos e fiquei novamente com os mesmos erros.

Não sendo muito familiar com o ambiente eclipse, não sei o que fazer mais para tentar resolver isto.


Obrigado desde já pela ajuda.
O adminstrador desactivou a escrita pública.

Configuração dos projectos 29 Set. 2013 11:03 #6478

  • bvnelson
  • Avatar de bvnelson
  • Offline
  • Mensagens: 2
marcolopes escreveu:
- REMOVA o PRODUCT (ex: colibri.rcp.product) em RUN -> RUN CONFIGURATIONS -> Eclipse Application
- Abra o ficheiro de PRODUCT do projecto (ex: colibri.rcp.example.product) e corra novamente (Launch an Eclipse Application)

Ainda não deu, mas consegui resolver com o pack que estava na pagina anteiror, obrigado!
Última Edição: 30 Set. 2013 14:52 por marcolopes.
O adminstrador desactivou a escrita pública.

Configuração dos projectos 27 Set. 2013 19:14 #6476

  • marcolopes
  • Avatar de marcolopes
  • Offline
  • Mensagens: 5346
  • Obrigado recebido 743
bvnelson escreveu:
parece a mim que a problema tem uma coisa a ver com o log4j mas verifiquei que o jar (org.apache.log4j_1.2.15.v201012070815.jar) está no plugins folder de eclipse, então não consegui resolver a problema.

Já tentei em Linux e Windows, mas fico com a mesma problema.

Se alguem pode me ajudar, agradecia!

- REMOVA o PRODUCT (ex: colibri.rcp.product) em RUN -> RUN CONFIGURATIONS -> Eclipse Application

- Abra o ficheiro de PRODUCT do projecto (ex: colibri.rcp.example.product) e corra novamente (Launch an Eclipse Application)
Marco Lopes
Gestor de projecto
Análise e Programação
O adminstrador desactivou a escrita pública.

Configuração dos projectos 27 Set. 2013 16:38 #6471

  • bvnelson
  • Avatar de bvnelson
  • Offline
  • Mensagens: 2
Boa tarde,

Estou a tentar instalar o api do colibri a seguir os passos aqui: code.google.com/p/projectocolibri/w/list

Mas cada vez que tento correr o projeto "exemplo" recebo este error:

a consola diz o seguinte:
colibri.rcp.example ACTIVATOR <start>
colibri.rcp.example APPLICATION <start>
RCP 9.2.0p - Windows 8
colibri.rcp ACTIVATOR <start>
LOGGER: colibri.rcp
BACKUPS: C:\Users\benja_000\Desktop\eclipse\backups\
SYSTEM: C:\Users\BENJA_~1\AppData\Local\Temp\colibri\
PLUGIN: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\
CERTIFICATES: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\certificates\
LICENCES: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\licences\
IMAGES: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\images\
ICONS: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\icons\
LANGUAGE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\language\
COUNTRY: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\language\pt\
POPULATE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\populate\
TABELAS: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\populate\pt\tabelas\
TEMPLATES: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\populate\pt\templates\
LOCALE: en
AVAILABLE languages: [ja, es, en, ja, es, sr, mk, es, ar, no, sq, bg, ar, ar, hu, pt, el, ar, mk, sv, de, en, fi, is, cs, en, sl, sk, it, tr, zh, th, ar, no, en, sr, lt, ro, en, no, lt, es, nl, ga, fr, es, ar, ko, fr, et, ar, sr, es, es, ar, in, ru, lv, es, lv, iw, pt, ar, hr, et, es, fr, hi, es, ar, en, ar, fi, de, es, nl, es, zh, ar, be, is, es, es, es, ar, en, th, el, it, ca, hu, fr, en, uk, pl, fr, nl, en, ca, ar, es, en, sr, zh, pt, uk, es, ru, ko, vi, ar, vi, sr, sq, ar, ar, zh, be, zh, ja, iw, bg, in, mt, es, sl, fr, cs, it, ro, es, en, de, ga, de, de, es, sk, ms, hr, en, da, mt, pl, ar, tr, th, el, ms, sv, da, es]
DEFINED language: en (2)
AVAILABLE countries: [JP, PE, JP, PA, BA, GT, AE, NO, AL, IQ, YE, PT, CY, QA, MK, CH, US, FI, MT, SI, SK, TR, SA, GB, CS, NZ, NO, LT, NI, IE, BE, ES, LB, CA, EE, KW, RS, US, MX, SD, ID, UY, LV, BR, SY, DO, CH, IN, VE, BH, PH, TN, AT, NL, EC, TW, JO, IS, CO, CR, CL, EG, ZA, TH, GR, IT, HU, IE, UA, PL, LU, BE, IN, ES, MA, BO, AU, SG, SV, RU, KR, DZ, VN, ME, LY, CN, BY, HK, IL, BG, MT, PY, FR, CZ, CH, RO, PR, CA, DE, LU, AR, MY, HR, SG, OM, TH, SE, DK, HN]
DEFINED country:  (-1)
FILE ENCODING: Cp1252
DEFAULT CHARSET: windows-1252
LICENCE NOT FOUND: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\licences\USER.rcplicence
LOADED LICENCE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\licences\PORTUGAL.rcplicence
KEYSTORE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\certificates\saPubKey.jks
CERTIFICATE: sapubkey.prod
TYPE: X.509
ISSUER: CN=DGITA Issuing CA2, DC=ritta, DC=local
SUBJECT: CN=Chave Cifra Publica AT, OU=DivSeguranca, OU=Servicos Centrais-Satelite, OU=DGITA, DC=ritta, DC=local
EXPIRATION: Sat Nov 18 15:06:46 GMT 2017
DAYS LEFT: 1512
KEYSTORE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\certificates\saPubKey.jks
CERTIFICATE: sapubkey.testes
TYPE: X.509
ISSUER: CN=DGITA Issuing CA1, DC=ritta, DC=local
SUBJECT: CN=jm0389, OU=DSSQ-DS, OU=DGITA_TEMP, OU=DGITA, DC=ritta, DC=local
EXPIRATION: Wed Nov 05 10:07:38 GMT 2014
DAYS LEFT: 403
KEYSTORE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\certificates\505636700.pfx
CERTIFICATE: 1
TYPE: X.509
ISSUER: CN=DGITA Issuing CA2, DC=ritta, DC=local
SUBJECT: EMAILADDRESS=Este endereço de email está protegido contra piratas. Necessita ativar o JavaScript para o visualizar., CN=505636700, OU=Software, O=Deltafil, L=Delaes, ST=Braga, C=PT
EXPIRATION: Thu Mar 27 08:37:16 GMT 2014
DAYS LEFT: 180
KEYSTORE: C:\Users\benja_000\Desktop\eclipse\plugins\colibri.rcp_9.2.0\certificates\TestesWebServices.pfx
CERTIFICATE: e0302fc6743b21b0963fd14e8dd07261_492e96e2-744c-4145-b290-67690f63a742
TYPE: X.509
ISSUER: CN=DGITA Issuing CA1, DC=ritta, DC=local
SUBJECT: CN=Teste Web Services, O=AT - Autoridade Tributaria e Aduaneira, L=Lisboa, ST=Lisboa, C=PT
EXPIRATION: Wed Dec 04 11:32:45 GMT 2013
DAYS LEFT: 67
log4j:WARN No appenders could be found for logger (DataNucleus.Plugin).
log4j:WARN Please initialize the log4j system properly.
Failed to instantiate SLF4J LoggerFactory
Reported exception:
java.lang.NoClassDefFoundError: org/apache/log4j/Level
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
	at com.jolbox.bonecp.BoneCPConfig.<clinit>(BoneCPConfig.java:53)
	at org.datanucleus.store.rdbms.datasource.bonecp.BoneCPDataSourceFactory.makePooledDataSource(BoneCPDataSourceFactory.java:77)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.initDataSourceTx(ConnectionFactoryImpl.java:144)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.<init>(ConnectionFactoryImpl.java:84)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.datanucleus.plugin.EclipsePluginRegistry.createExecutableExtension(EclipsePluginRegistry.java:193)
	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:324)
	at org.datanucleus.store.AbstractStoreManager.registerConnectionFactory(AbstractStoreManager.java:210)
	at org.datanucleus.store.AbstractStoreManager.<init>(AbstractStoreManager.java:185)
	at org.datanucleus.store.mapped.MappedStoreManager.<init>(MappedStoreManager.java:137)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:254)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.datanucleus.plugin.EclipsePluginRegistry.createExecutableExtension(EclipsePluginRegistry.java:193)
	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:300)
	at org.datanucleus.ObjectManagerFactoryImpl.initialiseStoreManager(ObjectManagerFactoryImpl.java:161)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:587)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:290)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:186)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at javax.jdo.JDOHelper$16.run(JDOHelper.java:1965)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.jdo.JDOHelper.invoke(JDOHelper.java:1960)
	at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1166)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:721)
	at rcp.colibri.dao.database.connection.ConnectionManager.getPMF(ConnectionManager.java:104)
	at rcp.colibri.dao.database.ColibriLogin.database(ColibriLogin.java:118)
	at rcp.colibri.dao.database.ColibriLogin.process(ColibriLogin.java:82)
	at rcp.Application.login(Application.java:153)
	at rcp.Application.start(Application.java:57)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Level
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 57 more
javax.jdo.JDOFatalInternalException: Error creating transactional connection factory
	at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:431)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:605)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:290)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:186)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at javax.jdo.JDOHelper$16.run(JDOHelper.java:1965)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.jdo.JDOHelper.invoke(JDOHelper.java:1960)
	at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1166)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:721)
	at rcp.colibri.dao.database.connection.ConnectionManager.getPMF(ConnectionManager.java:104)
	at rcp.colibri.dao.database.ColibriLogin.database(ColibriLogin.java:118)
	at rcp.colibri.dao.database.ColibriLogin.process(ColibriLogin.java:82)
	at rcp.Application.login(Application.java:153)
	at rcp.Application.start(Application.java:57)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
NestedThrowablesStackTrace:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.datanucleus.plugin.EclipsePluginRegistry.createExecutableExtension(EclipsePluginRegistry.java:193)
	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:324)
	at org.datanucleus.store.AbstractStoreManager.registerConnectionFactory(AbstractStoreManager.java:210)
	at org.datanucleus.store.AbstractStoreManager.<init>(AbstractStoreManager.java:185)
	at org.datanucleus.store.mapped.MappedStoreManager.<init>(MappedStoreManager.java:137)
	at org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:254)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.datanucleus.plugin.EclipsePluginRegistry.createExecutableExtension(EclipsePluginRegistry.java:193)
	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:300)
	at org.datanucleus.ObjectManagerFactoryImpl.initialiseStoreManager(ObjectManagerFactoryImpl.java:161)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:587)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:290)
	at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:186)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at javax.jdo.JDOHelper$16.run(JDOHelper.java:1965)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.jdo.JDOHelper.invoke(JDOHelper.java:1960)
	at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1166)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:808)
	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:721)
	at rcp.colibri.dao.database.connection.ConnectionManager.getPMF(ConnectionManager.java:104)
	at rcp.colibri.dao.database.ColibriLogin.database(ColibriLogin.java:118)
	at rcp.colibri.dao.database.ColibriLogin.process(ColibriLogin.java:82)
	at rcp.Application.login(Application.java:153)
	at rcp.Application.start(Application.java:57)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Level
	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
	at com.jolbox.bonecp.BoneCPConfig.<clinit>(BoneCPConfig.java:53)
	at org.datanucleus.store.rdbms.datasource.bonecp.BoneCPDataSourceFactory.makePooledDataSource(BoneCPDataSourceFactory.java:77)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.initDataSourceTx(ConnectionFactoryImpl.java:144)
	at org.datanucleus.store.rdbms.ConnectionFactoryImpl.<init>(ConnectionFactoryImpl.java:84)
	... 48 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Level
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 57 more

parece a mim que a problema tem uma coisa a ver com o log4j mas verifiquei que o jar (org.apache.log4j_1.2.15.v201012070815.jar) está no plugins folder de eclipse, então não consegui resolver a problema.

Já tentei em Linux e Windows, mas fico com a mesma problema.

Se alguem pode me ajudar, agradecia!

(Peço descupla se meu portugues tem alguns erros, não é a minha lingua materna)
Última Edição: 27 Set. 2013 19:09 por marcolopes.
O adminstrador desactivou a escrita pública.

Configuração dos projectos 14 Ago. 2013 14:43 #6256

  • RRocha
  • Avatar de RRocha
  • Offline
  • Mensagens: 31
  • Obrigado recebido 2
Perfeito!
O adminstrador desactivou a escrita pública.
Moderadores: marcolopes
Desenvolvido por Kunena