Now, I am able to start the server application.

But when I went through otgc client, got the following error:

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time:  01:03 min
[INFO] Finished at: 2021-07-16T17:19:30+05:30
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project otgc: Could not resolve
dependencies for project otgc:otgc:jar:3.0.0: Could not find artifact
org.iotivity:iotivity-lite:jar:1.0 in central (
https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
+ echo # script to start otgc_linux
+ echo # create the data folder
+ echo mkdir data
+ echo # start the application
+ echo /zulu8.54.0.21-ca-fx-jdk8.0.292-linux_x64/bin/java
-Djava.library.path=./lib/jni -jar target/jfx/app/otgc-3.0.0-jfx.jar
+ cp src/main/resources/data .
cp: -r not specified; omitting directory 'src/main/resources/data'
+ cd ./build/debian
+ cd ..
+ cd ..

I have searched the otgc-Linux directory. There will be no .deb file of
otgc.

Seeking help.

Reagrds,
Vishal

On Fri, Jul 16, 2021 at 4:23 PM Vishal Rathod via groups.io <vishalrathod=
[email protected]> wrote:

> Thanks for the quick response.
>
>
>
> On Fri, Jul 16, 2021 at 4:18 PM <[email protected]> wrote:
>
>> Hi Vishal Rathod,
>>
>>
>>
>> Do you have any blanks/spaces in the folder path?
>>
>
> Yes.
>
>>
>>
>> Kind Regards,
>> Wouter
>>
>>
>>
>>
>>
>> *From:* [email protected] <[email protected]>
>> *On Behalf Of *Vishal Rathod
>> *Sent:* Friday 16 July 2021 11:43
>> *To:* [email protected]
>> *Subject:* [dev] Getting error while running a example
>>
>>
>>
>> Hello all,
>>
>>
>>
>> I hope you are doing well!
>>
>>
>>
>> I am running an example which is given in the following link:
>>
>>
>>
>> https://iotivity.org/getting-started-iotivity-device-simulation
>>
>>
>>
>> When I run the ./gen.sh command after setting up the IoTivity, it gave
>> the following error:
>>
>>
>>
>> ./DeviceBuilder_IotivityLiteServer.sh: 159: cd: can't cd to
>> /home/vishal/Documents/IoTivity
>>
>> creating ../device_output
>> cp: cannot stat '../example.json': No such file or directory
>> python3: can't open file './src/DeviceBuilder.py': [Errno 2] No such file
>> or directory
>> == wb-swagger not installed, see
>> https://github.com/WAvdBeek/wb-swagger-tools to install
>> python3: can't open file './src/swag2cbor.py': [Errno 2] No such file or
>> directory
>> cp: cannot stat
>> '../device_output/out_introspection_merged.swagger.json.cbor': No such file
>> or directory
>> python3: can't open file './src/cbor2include.py': [Errno 2] No such file
>> or directory
>>
>>
>>
>> json file does not exist:
>> ../device_output/out_codegeneration_merged.swagger.json
>> Traceback (most recent call last):
>>   File "../swagger2x/src/swagger2x.py", line 1724, in <module>
>>     json_data = load_json_schema(args.swagger)
>>   File "../swagger2x/src/swagger2x.py", line 62, in load_json_schema
>>     linestring = open(full_path, 'r').read()
>> FileNotFoundError: [Errno 2] No such file or directory:
>> '../device_output/out_codegeneration_merged.swagger.json'
>> cp: cannot stat './iotivity-lite/apps/device_builder_server.c': No such
>> file or directory
>> cp: cannot stat './device_output/code/simpleserver.c': No such file or
>> directory
>> cp: cannot stat './device_output/code/simpleserver.c': No such file or
>> directory
>> cp: cannot stat './device_output/code/simpleserver.c': No such file or
>> directory
>> cp: cannot stat './device_output/code/server_introspection.dat.h': No
>> such file or directory
>> cp: cannot stat './device_output/code/server_introspection.dat': No such
>> file or directory
>> cp: cannot stat './device_output/code/server_introspection.dat': No such
>> file or directory
>> cp: cannot stat './device_output/code/server_introspection.dat': No such
>> file or directory
>>
>>
>>
>> Can anyone help me with this?
>>
>>
>>
>> Thank you.
>>
>>
>>
>> Regards
>>
>> --
>>
>> Vishal Rathod,
>>
>> IEEE Student Member,
>>
>> Research Scholar,
>>
>> NITK,  Surathkal.
>>
>> M - +91 9879957770
>>
>>
>
> --
> Vishal Rathod,
> IEEE Student Member,
> Research Scholar,
> NITK,  Surathkal.
> M - +91 9879957770
> 
>
>

-- 
Vishal Rathod,
IEEE Student Member,
Research Scholar,
NITK,  Surathkal.
M - +91 9879957770


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#10456): 
https://iotivity.groups.io/g/iotivity-dev/message/10456
Mute This Topic: https://groups.io/mt/84245890/21656
Group Owner: [email protected]
Unsubscribe: https://iotivity.groups.io/g/iotivity-dev/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to