Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Exception occurred while creating new instance of component Component(greenHouse ,coap,)
Exception occurred while creating new instance of component Component [message #1779448] Mon, 08 January 2018 08:47 Go to next message
LI Yi is currently offline LI YiFriend
Messages: 37
Registered: June 2017
Member
I am ok!

[Updated on: Sun, 14 January 2018 04:25]

Report message to a moderator

Re: Exception occurred while creating new instance of component Component [message #1779464 is a reply to message #1779448] Mon, 08 January 2018 10:28 Go to previous messageGo to next message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
as pointed out in the error exception, you are missing a dependency: org.eclipse.iot.my.sensors.raspberrypi.Pi4jMySensorService
It could be that you missed it in the manifest or completely as a package.

Best regards,
Matteo
Re: Exception occurred while creating new instance of component Component [message #1779473 is a reply to message #1779464] Mon, 08 January 2018 12:42 Go to previous messageGo to next message
LI Yi is currently offline LI YiFriend
Messages: 37
Registered: June 2017
Member
Thank for your reply.

But in fact , I have deploy all the packages. How can i fix this problem by modify manifest or any other method?

Best regards

LiYi



Matteo Maiero wrote on Mon, 08 January 2018 10:28
Hi,
as pointed out in the error exception, you are missing a dependency: org.eclipse.iot.my.sensors.raspberrypi.Pi4jMySensorService
It could be that you missed it in the manifest or completely as a package.

Best regards,
Matteo

Re: Exception occurred while creating new instance of component Component [message #1779478 is a reply to message #1779464] Mon, 08 January 2018 13:02 Go to previous messageGo to next message
LI Yi is currently offline LI YiFriend
Messages: 37
Registered: June 2017
Member
Hi, here is my build.properties

 output.. = bin/
source.. = src/
bin.includes = META-INF/,\
               MyDHT11.h,\
               OSGI-INF/,\
               libs/,\
               linux-x86-64/
additional.bundles = org.eclipse.osgi.services,\
                     slf4j.api,\
                     org.eclipse.osgi.util
jars.compile.order = .


and eclipse export jar file is as followings:

Why class file is not include in the jar file?

thanks a log!
  • Attachment: build.png
    (Size: 95.34KB, Downloaded 162 times)
Re: Exception occurred while creating new instance of component Component [message #1779647 is a reply to message #1779478] Wed, 10 January 2018 17:44 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 423
Registered: July 2015
Location: Italy
Senior Member
Hi,
I believe there is no sufficient information to provide an insight of what is going on.
I would guess that you are missing an import in the manifest.mf file.

Did you check that?

Thanks.
Best regards,
Matteo
Previous Topic:jetty Httpclient
Next Topic:CC2650: Receiving constant values for light and temperature from SensorTag
Goto Forum:
  


Current Time: Wed Apr 24 21:22:39 GMT 2024

Powered by FUDForum. Page generated in 0.04321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top