Bonitasoft-Community / rest-api-sql-data-source

Bonita REST API extension to run SQL queries using data source
GNU Lesser General Public License v2.1
6 stars 4 forks source link

Missing Maven Dependency - org.bonitasoft.web/bonita-web-extensions-7.2.3.jar #5

Open smcpoland opened 8 years ago

smcpoland commented 8 years ago

When trying to build the project as described I get the following error:

The container 'Maven Dependencies' references non existing library 'C:\Users\????.m2\repository\org\bonitasoft\web\bonita-web-extensions\7.2.3\bonita-web-extensions-7.2.3.jar' rest-api-sql-datasource

Build path Build Path Problem

When I look at the directory itself it has files with .lastUpdated as the suffix.

This generally means the file cannot be found in the Maven repository, having looked there there is no repository for org.bonitasoft.web.

Can you tell us where to find this jar?

As a temporary I copied it from BonitaInstallDir, but not the point.

Next problem,

Next issue is Cannot find the class file for javax.servlet.http.HttpServletRequest which is required.

How do we fix this issue?

Right clicking the project->does not bring up servers, so that's not the issue.

OK so I've temporarily got round this by

Quick Fix- This worked in Eclipse - Right Click on project -> Properties -> Java Build Path (Tab) -> Add External JARs -> locate the servlet api jar implementation (if Tomcat - its named servlet-api.jar) -> click OK {http://stackoverflow.com/a/10118791}

And now another issue...

The project was not built since its build path is incomplete. Cannot find the class file for org.bonitasoft.engine.session.APISession. Fix the build path then try building this project

This is where I am now....stuck

Many thanks and best regards Seán

laurentleseigneur commented 8 years ago

Hi,

missing dependency point to https://github.com/bonitasoft/bonita-web-extensions public repo

@rbioteau , @tnguyen1 can you update public repo & push tags to maven central ? thanks

laurentleseigneur commented 8 years ago

Hi,

problems mentioned above are solved and bonita-web-extensions repo is updated & pushed to http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.bonitasoft.web%22%20AND%20a%3A%22bonita-web-extensions%22

@smcpoland build instructions as explained in readme should work now