I using struts 2.3.8, it cannot have TextUtils Class in xwork2.util package, but struts 2.2.5 have class
Any change from that,..
i used follwing jars
antlr-2.7.7.jar
asm-3.3.jar
asm-commons-3.3.jar
asm-tree-3.3.jar
com.springsource.org.aopalliance-1.0.0.jar
commons-fileupload-1.2.2.jar
commons-io-2.0.1.jar
commons-lang3-3.1.jar
commons-logging-1.1.1.jar
commons-logging-api-1.1.jar
dom4j-1.6.1.jar
ehcache-core-2.4.3.jar
freemarker-2.3.19.jar
hibernate-commons-annotations-4.0.1.Final.jar
hibernate-core-4.1.10.Final.jar
hibernate-ehcache-4.1.10.Final.jar
hibernate-jpa-2.0-api-1.0.1.Final.jar
javassist-3.11.0.GA.jar
javassist-3.15.0-GA.jar
jboss-logging-3.1.0.GA.jar
jboss-transaction-api_1.1_spec-1.0.0.Final.jar
jsonplugin-0.34.jar
jtds-1.1.jar
log4j-1.2.14.jar
ognl-3.0.6.jar
servlet-api.jar
sitemesh-2.4.2.jar
slf4j-api-1.6.1.jar
spring-aop-3.2.1.RELEASE.jar
spring-beans-3.2.1.RELEASE.jar
spring-context-3.2.1.RELEASE.jar
spring-core-3.2.1.RELEASE.jar
spring-expression-3.2.1.RELEASE.jar
spring-jdbc-3.2.1.RELEASE.jar
spring-orm-3.2.1.RELEASE.jar
spring-tx-3.2.1.RELEASE.jar
spring-web-3.2.1.RELEASE.jar
struts2-config-browser-plugin-2.3.8.jar
struts2-core-2.3.8.jar
struts2-jquery-plugin-3.5.1.jar
struts2-spring-plugin-2.3.8.jar
xwork-core-2.3.8.jar
Related
Crash happens in runtime on vtkSmartVolumeMapper::New() step.
And it goes deep to vtkFixedPointVolumeRayCastMapper constructor. Don't understand how to tackle such an issue, please help
Exception thrown at 0x00007FF73A60735A in smop-ptqt.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
Qt 5.15.6, VTK 9.1.0, ITK 5.2.1
Finally fixed crash on vtkSmartVolumeMapper::New() by using VTK9's new module approach in cmakelists.
So previously, while project used some vtk7.1 version.
CmakeLists treated VTK like this
find_package(VTK CONFIG REQUIRED PATHS "<some_path>/3rd_party/VTK/build/install_dir/lib/cmake/vtk-9.1" )
then used and so on.
target_link_libraries( ...${VTK_LIBRARIES} )
Now I applied module way
find_package(VTK CONFIG REQUIRED
COMPONENTS
GUISupportQt
CommonCore
ViewsCore
ViewsInfovis
DICOM
RenderingCore
RenderingLabel
CommonExecutionModel
RenderingOpenGL2
InteractionWidgets
IOPLY
IOGeometry
RenderingQt
RenderingVolumeOpenGL2
IOImport )
...
target_link_libraries(${PROJECT_NAME} ...
VTK::GUISupportQt
VTK::CommonCore
VTK::ViewsCore
VTK::ViewsInfovis
VTK::DICOM
VTK::RenderingCore
VTK::RenderingLabel
VTK::CommonExecutionModel
VTK::RenderingOpenGL2
VTK::InteractionWidgets
VTK::IOCore
VTK::IOPLY
VTK::IOGeometry
VTK::RenderingQt
VTK::RenderingVolumeOpenGL2
VTK::IOImport
)
...
vtk_module_autoinit(
TARGETS ${PROJECT_NAME}
MODULES VTK::GUISupportQt
VTK::CommonCore
VTK::ViewsCore
VTK::ViewsInfovis
VTK::DICOM
VTK::RenderingCore
VTK::RenderingLabel
VTK::CommonExecutionModel
VTK::RenderingOpenGL2
VTK::InteractionWidgets
VTK::IOCore
VTK::IOPLY
VTK::IOGeometry
VTK::RenderingQt
VTK::RenderingVolumeOpenGL2
VTK::IOImport
)
( was inspired by this script, thank you Qt-VTK-viewer developer(s) who worked on that script https://github.com/martijnkoopman/Qt-VTK-viewer/blob/master/CMakeLists.txt )
I am new to Corda development and am trying to configure a Corda java template for Hello World, downloaded template while syncing the gradle throwing below error:
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-stdlib-jre8/1.1.60/kotlin-stdlib-jre8-1.1.60.jar'.
at org.gradle.internal.resource.ResourceExceptions.failure(ResourceExceptions.java:74)
at org.gradle.internal.resource.ResourceExceptions.getFailed(ResourceExceptions.java:57)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.copyToCache(DefaultCacheAwareExternalResourceAccessor.java:198)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.access$300(DefaultCacheAwareExternalResourceAccessor.java:55)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor$1.create(DefaultCacheAwareExternalResourceAccessor.java:88)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor$1.create(DefaultCacheAwareExternalResourceAccessor.java:80)
at org.gradle.cache.internal.ProducerGuard$AdaptiveProducerGuard.guardByKey(ProducerGuard.java:97)
at org.gradle.internal.resource.transfer.DefaultCacheAwareExternalResourceAccessor.getResource(DefaultCacheAwareExternalResourceAccessor.java:80)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.downloadStaticResource(DefaultExternalResourceArtifactResolver.java:97)
at org.gradle.api.internal.artifacts.repositories.resolver.DefaultExternalResourceArtifactResolver.resolveArtifact(DefaultExternalResourceArtifactResolver.java:67)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.download(ExternalResourceResolver.java:310)
at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResourceResolver.resolveArtifact(ExternalResourceResolver.java:296)
... 27 more
build.gradle details
ext {
corda_release_group = 'net.corda'
corda_release_version = '3.3-corda'
corda_gradle_plugins_version = '3.2.1'
junit_version = '4.12'
quasar_version = '0.7.9'
spring_boot_version = '2.0.2.RELEASE'`enter code here`
spring_boot_gradle_plugin_version = '2.0.2.RELEASE'
slf4j_version = '1.7.25'
log4j_version = '2.9.1'
}
Looks like you are using an very old version of the CorDapp template. Your build.gradle says Corda version 3.3
Whereas, we are currently 4.4 right now. Please download a copy of the latest template and work on it. https://github.com/corda/cordapp-template-java
In my web application, I am using 3td party jar files. To make an Attributions Document I need to group the jar files specifying its library name. My question is about how can I found the library name of used jars or any tool that I can upload jars and it will group jars by library? I looked at them in a maven repository but there is no information about library name.
Here is the list of jar files:
serializer.jar
ant-1.10.3.jar
avalon-framework-api-4.3.1.jar
barcode4j-2.1.jar
batik.jar
batik-awt-util-1.9.1.jar
batik-xml-1.9.1.jar
bcel-6.2.jar
common-core.jar
commons-beanutils-1.9.3.jar
commons-dbcp-1.4.jar
commons-vfs2-2.2.jar
derby-10.14.2.0.jar
eigenbase-properties.jar
eigenbase-resgen.jar
eigenbase-xom.jar
fluent-hc-4.3.3.jar
fop-2.2.jar
freemarker.jar
groovy-all-2.4.13.jar
gson-2.2.2.jar
httpclient-4.5.5.jar
httpclient-cache-4.5.5.jar
httpcore-4.4.9.jar
httpmime-4.5.5.jar
jboss-logging-3.1.3.GA.jar
jkeylockmanager-1.0.0.jar
joda-time-2.2.jar
jsonassert-1.2.0.jar
log4j-1.2.17.jar
olap4j-1.2.0.jar
poi-3.17.jar
poi-ooxml-3.17.jar
poi-ooxml-schemas-3.17.jar
spring-web-4.3.16.RELEASE.jar
spring-webmvc-4.3.16.RELEASE.jar
velocity-1.7-dep.jar
xalan-2.7.2.jar
xbean.jar
xercesImpl-2.11.0.SP5.jar
xml-apis-1.3.03.jar
xml-apis-ext.jar
xmlbeans-2.3.0.jar
xmlgraphics-commons-1.4.jar
xpp3.jar
olap4j-jdk14.jar
dom4j-1.6.1.jar
jsch-0.1.51.jar
retroweaver-rt.jar
xmlunit.jar
jstl-1.2.jar
mail.jar
jboss-transaction-api_1.2_spec-1.0.0.Final.jar
activation.jar
jmxremote_optional.jar
jaxb-api.jar
saaj-api.jar
saaj-ri.jar
jsf-api.jar
junit-4.10.jar
pivot4j-core-0.9.jar
jrcerom.jar
keycodeDecoder.jar
pfjgraphics.jar
QueryBuilder.jar
webreporting.jar
webreporting-jsf.jar
XMLConnector.jar
mondrian-3.14.0.0-12.jar
hibernate-jpa-2.1-api-1.0.0.Final.jar
aspectjrt-1.8.9.jar
aspectjweaver-1.8.9.jar
jdt-compiler-3.1.1.jar
jflex-1.4.3.jar
rhino-1.7R3.jar
mysql-connector-java-5.1.25-bin.jar
icu4j.jar
jasperreports-5.5.0.jar
javadbf-0.4.0.jar
jcommon-1.0.15.jar
jxl-2.6.10.jar
png-encoder-1.5.jar
hibernate-commons-annotations-4.0.5.Final.jar
hibernate-core-4.3.8.Final.jar
jcifs-1.3.17.jar
slf4j-api-1.7.1.jar
slf4j-log4j12-1.7.1.jar
stax-api-1.0.1.jar
jsoup-1.9.1.jar
iText-2.1.7.js2.jar
itext-rtf-2.1.7.jar
javassist-3.18.1-GA.jar
Access_JDBC30.jar
Excel_JDBC30.jar
jpa.jar
jpivot.jar
I have mentioned a jar(belonging to my org's artifactory) in my build.sbt file
lazy val core =
module("core", deps = Seq(
"io.swagger" % "swagger-annotations" % "1.5.8"
)).settings(
libraryDependencies ++= Seq(
"com.quantcast" % "quantserve_shared" % "latest.integration"
))
When i compile the code, i see these files getting downloaded in my ~/.ivy2 directory but not the jars folder or any jar.
ls ./cache/com.quantcast/quantserve_shared/
ivy-3.5.3132.xml ivy-3.5.3132.xml.original ivydata-3.5.3132.properties ivydata-latest.integration.properties
I checked my resolution-cache/reports/audience-link-core-audience-link-core_2.11-compile-internal.xml file and see this :
<module organisation="com.quantcast" name="quantserve_shared">
<revision name="3.5.3132" status="release" pubdate="20170315145341" resolver="sbt-chain" artresolver="sbt-chain" downloaded="false" searched="true" default="false" conf="compile, default(compile)" position="74">
<metadata-artifact status="no" details="" size="7161" time="0" location="/Users/pkhurana/.ivy2/cache/com.quantcast/quantserve_shared/ivy-3.5.3132.xml" searched="true" origin-is-local="false" origin-location="http://<My org artifactory>/libs-bmr-releases-local/com/quantcast/quantserve_shared/3.5.3132/ivy-3.5.3132.xml"/>
<caller organisation="audience-link-core" name="audience-link-core_2.11" conf="compile-internal, compile, provided, optional" rev="latest.integration" rev-constraint-default="latest.integration" rev-constraint-dynamic="latest.integration" callerrev="0.9999999.17.76.111418"/>
<artifacts>
</artifacts>
</revision>
</module>
So nothing comes in artifactory tag, but i do see other jars which are dependencies of quantserve_shared jar gets downloaded and their entry in the resolution cache also fine.
<module organisation="com.twitter.util-core" name="util-core">
<revision name="1.12.13" status="release" pubdate="20131024042503" resolver="sbt-chain" artresolver="sbt-chain" homepage="" downloaded="false" searched="false" default="false" conf="default, compile, runtime, master" position="127">
<metadata-artifact status="no" details="" size="2240" time="0" location="/Users/pkhurana/.ivy2/cache/com.twitter.util-core/util-core/ivy-1.12.13.xml" searched="false" origin-is-local="true" origin-location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/ivy-1.12.13.xml"/>
<caller organisation="com.quantcast" name="quantserve_shared" conf="compile" rev="1.12.13" rev-constraint-default="1.12.13" rev-constraint-dynamic="1.12.13" callerrev="3.5.3132"/>
<artifacts>
<artifact name="util-core" type="jar" ext="jar" status="no" details="" size="632306" time="0" location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/jars/util-core-1.12.13.jar">
<origin-location is-local="true" location="/Users/pkhurana/.ivy2/quantcast-bmr/com.twitter.util-core/util-core/jars/util-core-1.12.13.jar"/>
</artifact>
</artifacts>
</revision>
</module>
Not sure why but the latest sbt (0.13.15) does download everything
This happened because the dependency jar did not have the configuration 'compile' specified in its ivy file. It has 'master' specified with visibility public. Now sbt tries to find 'compile' by default but fails.
This got solved by changing it to
"com.quantcast" % "quantserve_shared" % "3.5.3166" % "compile->master"
While im running 'grails war' im getting the following exception
| Error Error loading plugin manager: Could not create a new instance of class [Log4jXmlGrailsPlugin]! (NOTE: Stack trace has been filtered. Use --ver
bose to see entire trace.)
org.codehaus.groovy.grails.exceptions.NewInstanceCreationException: Could not create a new instance of class [Log4jXmlGrailsPlugin]!
at _PluginDependencies_groovy$_run_closure5_closure23.doCall(_PluginDependencies_groovy:178)
at _PluginDependencies_groovy$_run_closure5_closure23.doCall(_PluginDependencies_groovy)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at _PluginDependencies_groovy$_run_closure5.doCall(_PluginDependencies_groovy:176)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:60)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81)
at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)
at _GrailsWar_groovy$_run_closure4.doCall(_GrailsWar_groovy:92)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at org.codehaus.gant.GantMetaClass.processClosure(GantMetaClass.java:81)
at org.codehaus.gant.GantMetaClass.processArgument(GantMetaClass.java:95)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:128)
at War$_run_closure1.doCall(War.groovy:38)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:591)
at gant.Gant.executeTargets(Gant.groovy:590)
Caused by: groovy.lang.MissingPropertyException: No such property: org for class: org.grails.plugins.log4jxml.Log4jConfigurationInitializer
Possible solutions: log
at org.grails.plugins.log4jxml.Log4jConfigurationInitializer.init(Log4jConfigurationInitializer.groovy:21)
at org.grails.plugins.log4jxml.Log4jConfigurationInitializer.(Log4jConfigurationInitializer.groovy:12)
at Log4jXmlGrailsPlugin.(Log4jXmlGrailsPlugin.groovy:16)
... 53 more
| Error Error loading plugin manager: Could not create a new instance of class [Log4jXmlGrailsPlugin]!
What is that 'org' property to be in Log4jConfigurationInitializer class
This is due the fact that you have a log4j-xml plug-in in the project plug-ins.
just remove and it will go away!
log4j-xml plugin is a valid and useful plugin for grails 1.3.x versions. So applications that have a log4j.xml file for logging behavior would find this plugin useful. I do not think that this is the correct solution to the above problem.