I am junior java developer and I am trying to test a data pipeline project given in this link
> https://northconcepts.com/docs/examples/read-a-csv-file/
in my local machine.
I get many errors that are generated such as :
Description Resource Path Location Type The import
com.northconcepts.datapipeline.core.DataEndpoint cannot be
resolved ReadCsvFile.java /ReadCSVFile/src/PipelineCSV line 6 Java
Problem
So, I think that I need to import jar files which are related to the imported libraries given in the code.
The problem is that I can not find online any jar file related to the northconcepts.datapipeline libraries to download and work with!
Any help, please ?
The library is available here but you need to register to download it (and pay for it, if you want something other than the free express version).
You can test the code by following the getting started guide below to configure Maven/Gradle and get a license. It should be pretty quick.
https://northconcepts.com/docs/user-guide/#getting-started
The examples are also on GitHub.
Related
I downloaded SocketTest project and made some changes to read data from MS SQL database. Added external library:
But I'm getting java.sql.SQLException: No suitable driver found... when I run the project.
I'm sure there is no mistake in my source code. Because I tested my class on alternate project. It's running smoothly. But I wonder why MS SQL library can't be seen even after I add that.
I also tried to use the newest version of MS SQL library but still no success.
I also tried to analyze project.xml file. But I guess solution is not there.
Please help me to solve this issue.
Thanks in advance.
Solution has been found. build.xml file has been cleared and copied from newly created NetBeans project.
I have these CLR types installed on my local https://puu.sh/yEWG5/b4f77fba7b.png
Also, I have SQL server 2016 installed on my local system but when I try to run the project I get error as below
https://puu.sh/yEWQm/78a4220830.png
Can someone help? I tried installing latest nugget package from https://www.nuget.org/packages/Microsoft.SqlServer.Types/ but it did not help.
Though I am able to add a column of type geography in a table in my local database. It fails at runtime when I run my project and error comes as below
https://puu.sh/yEWQm/78a4220830.png
According to the docs if you have installed the CLR Types it should load from the GAC so I'm not sure why that didn't work for you. (I would check that you have the correct version as your dependency)
However, we do use the SQLServerTypes in our app without installing the CLR types by using the following method (this method is described in the readme.htm that comes with SqlServerTypes).
Grab the SqlServerTypes.nupkg and extract it to a folder lets call this folder SST from now on.
(Locations of the files I talk about in the following steps may differ from version to version but, the principle is the same)
Create a SqlServerTypes folder in your project
Copy the SST/nativebinaries/x86 and x64 folders into your new SqlServerTypes folder
Also copy the files from SST/content (you should see Loader.cs and readme.htm) into the SqlServerTypes folder.
Now all you need to do is call the Loader when your app boots up.
We do this during our autofac setup by making this call.
Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory)
You may need to adjust the param passed into this method to work with your application. If the correct path is used you should have access to the spatial types in your code.
edit: It may be possible to just call the LoadNativeAssemblies straight away (and avoid all the work I posted above) if you have installed the nuget package in your app but, I have not tested this as we are stuck on an old version of SqlServerTypes.
Because i cannot put a comment i have to put a answer, you can check that, that article and this, this, this and this answers, i hope they guide you to someting usefull.
I am using R3.1.2 for text analysis to extract entity(kind=person). i have loaded openNLP and openNLPmodels.en from http://datacube.wu.ac.at. but i get the following error.
Error in Maxent_Simple_Entity_Detector(language, kind, probs, model) :
Could not find model file for language 'en' and kind 'person'.
Apparently, package 'openNLPmodels.en' is installed
but does not provide this model.
What is the resolution?
Thanks
Sridevi
Let me provide the exact steps that worked for me. These steps assume you already have have OpenNLP, rJava libraries working.
Install openNLPmodels.en
install.packages("openNLPmodels.en", dependencies=TRUE, repos = "http://datacube.wu.ac.at/")
Navigate to the openNLPmodels.en library folder. For me, this was \filesrv\users\MYNAME\My Documents\R\win-library\3.4\openNLPmodels.en
Create a new folder within openNLPmodels.en called models
Visit the openNLP models page on sourceforge and download
two files: en-chunker.bin and en-ner-person.bin
Place those files in your models folder.
Install the openNLPmodels.en from http://datacube.wu.ac.at/src/contrib/. This package is no more available on CRAN. So, download is offline and install it on your R/Rstudio. It is working for me. ! Hurray !
I had the same issue and was able to resolve it installing the additional packages "RWeka" and "qdap". Additionally, ensure you have 'rJava' installed. In short, run the following and see if, after requiring the packages, you are able to run your code.
install.packages(c("NLP", "openNLP", "RWeka", "qdap", "rJava"))
as you have probably installed openNLPmodels.en and its loading properly. I went into the source code of parse.R of openNLP and found something like this
package <- "openNLPmodels.en"
model <- system.file("models/en-parser-chunking.bin",
package = package) .
Points to be noted ..
1) I am on a Linux machine with R version of 3.3.2. and
2) have installed version of openNLPmodels.en form
https://cran.r-project.org/src/contrib/Archive/openNLPmodels.en/ . to my surprise i didn't find "models/en-parser-chunking.bin" in its path.so i have downloaded the corresponding parser file. from http://opennlp.sourceforge.net/models-1.5/ and placed it in the folder called models. and was able to get it working.
parse_annotator <- Parse_Annotator()
## Compute the parse annotations only.
p <- parse_annotator(s, a2)
now this code worked for me.
Prior to this i as having similar error with.
annotate(s, Maxent_Chunk_Annotator(), a3)
#Error in Maxent_Simple_Chunker(language, probs, model) :
Could not find model file for language 'en'.
Apparently, package 'openNLPmodels.en' is installed
Now Guess what, i have given the path to model (chunker.bin file) in Maxent_Simple_Chunker and was able to get it work.
apologize for my poor formatting skills
all the parse and chunker code i used can be found in the documentation.if you want to reproduce the examples
In an MVC app I am working on, we've recently began using ActiveReports 7 for our report-generating needs. On my local machine, everything works great. However, when we deploy to our Dev server for team-level testing, we get a LicenseException:
License for the SectionReport cannot be found.
We followed the user guide here to attempt different ways to resolve the problem.
What we have done:
Ensured that the licenses.licx file references the assemblies, and that the correct ActiveReports 7 assemblies are being built with and referenced by our project. As it stands, the licenses.licx file looks like this (sans the line-breaks):
GrapeCity.ActiveReports.SectionReport, GrapeCity.ActiveReports.v7, Version=7.0.6158.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
GrapeCity.ActiveReports.Export.Pdf.Section.PdfExport, GrapeCity.ActiveReports.Export.Pdf.v7, Version=7.0.6158.0, Culture=neutral, PublicKeyToken=cc4967777c49a3ff
As this is a MVC web project, used the Assembly License Generator that comes with AR7 to create an [Assembly].Web.License.dll library, which we are building with the project in a /lib/ directory at the solution-level. This change had no effect on the License exception.
Used the Web Key Generator to create a key for the App.config file. This change had no effect on the License exception.
What we have not done:
Created some web form, and created an App_License.dll library that gets built with our project. The reason we did not do this is we are not using Web controls for our reports, we are not even using the GrapeCity.ActiveReports.Web assembly, and the error is not coming from any class in that library (which is logical, seeing how we're not using it.)
The only notable detail of all of this is that modifying the licenses.licx file had an early effect as we had a similar license exception on another component; ensuring that licenses.licx had the proper details ensured that that other component was no longer throwing LicenseExceptions in our app. I tentatively think from this that maybe my licenses.licx file still lacks something needed to make this app work.
The only thing remaining I can think to do is to recommend our lead license our server as a developer, but this possibility has already come up, and the direction we've been asked to take is to avoid that route if at all possible. I think it is possible because I have encountered similar posts involving people who followed the steps in the user guide above and presumably were able to solve the issue. Yet, for my team, these steps aren't working.
Question: What am I missing?
Using the Assembly License Generator as you have done should do the trick. Also, make sure that you are using the latest version of AR7 as according to this post on the ActiveReports 7 Support Forums, there was a fix done to some later version of ActiveReports 7 to correct some problem with licensing in this scenario. Specifically the steps given from the previously cited post said that following the below steps with the updated version corrected someone else's problem:
Run the program "ApplicationLicenseGenerator.exe" (as Administrator) from a location similar to "C:\Program Files\Common Files\ComponentOne\ActiveReports Developer 7\"ApplicationLicenseGenerator.exe"
Browse to the compiled ActiveReports DLL.
Press the "Generate" Button.
This generates a satellite assembly similar to yourclasslibraryname.dll.GrapeCity.Licenses.dll
Place the DLL in the bin folder of your web project and/or reference the generated DLL in your web service project.
Answer: for non-licensed users, [Assembly].GrapeCity.License.dll must be added to the web project as a reference!
Licenses.licx matters from a build perspective, though. But the license file was not missing anything.
This is a probably a really simple fix, but I'm extremely new to RealBasic and I'm having difficulty finding help.
dim objUnZipIt as new RealUnzip
The error I keep getting is :
There is no class with this name: di objUnZipIt as new RealUnzip
I'm attempting to debug something in a language I don't know, and the original developer is long gone. Where can I find the library? Or possibly make a small alteration to get this running?
Thank you very much.
Edit: Ok, digging through the folders I found a RealZip.dll . Any idea how I can import this ?
The RealZip plugin was provided by a third-party developer whose website has been offline for several years. You can still grab the plugin from the Internet Archive's copy of their site.
Extract the .rbx file into the plugins sub-directory of the REALstudio install directory and restart the IDE. Since this plugin is no longer maintained, there may be issues with using it in a modern version of the IDE (the included demo project works, though, with only a deprecation warning unrelated to the plugin.)
There's also a GZip plugin available on SourceForge (similarly unmaintained) and the commercial MonkeyBread Compression plugin which is actively maintained.