Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README is not clear enough about the installation steps #11

Open
vinogradoff opened this issue Oct 2, 2015 · 3 comments
Open

README is not clear enough about the installation steps #11

vinogradoff opened this issue Oct 2, 2015 · 3 comments

Comments

@vinogradoff
Copy link

Hey, guy!

How to use.
Download the distribution.
Get yourself an up-to-date copy of fitnesse (>= 20150114)

Okay, I've downloaded it, but where should I put the files to make it work? :)
It seems just downloading is not enough.

Thank you!

@amolenaar
Copy link
Collaborator

Hi,

You can add the dependency to your Maven pom.xml file. https://github.com/xebia/Xebium contains a nice example for that.

Regards,

Arjan

On 02 Oct 2015, at 12:44, vinogradoff notifications@github.com wrote:

Hey, guy!

How to use.
Download the distribution.
Get yourself an up-to-date copy of fitnesse (>= 20150114)

Okay, I've downloaded it, but where should I put the files to make it work? :)
It seems just downloading is not enough.

Thank you!


Reply to this email directly or view it on GitHub.

@vinogradoff
Copy link
Author

I wish I could start fitnesse as standalone from command-line using java only (no maven).

I've got maven-classpath-plugin-1.9.jar from maven-repo and try to start with:

java -cp maven-classpath-plugin-1.9.jar -jar fitness-standalone -d ./fitness 

./fitness/plugins.properties has the line

SymbolTypes = fitnesse.wikitext.widgets.MavenClasspathSymbolType

added.

After start I've got

$ java -cp *maven*.jar -jar fitnesse-standalone.jar  -d ./fitnesse -p 8088 -o
fitnesse.plugins.PluginException: Unable to load class fitnesse.wikitext.widgets.MavenClasspathSymbolType
    at fitnesse.plugins.PropertyBasedPluginFeatureFactory.forName(PropertyBasedPluginFeatureFactory.java:200)
    at fitnesse.plugins.PropertyBasedPluginFeatureFactory.forEachClass(PropertyBasedPluginFeatureFactory.java:143)
    at fitnesse.plugins.PropertyBasedPluginFeatureFactory.forEachObject(PropertyBasedPluginFeatureFactory.java:150)
    at fitnesse.plugins.PropertyBasedPluginFeatureFactory.registerSymbolTypes(PropertyBasedPluginFeatureFactory.java:75)
    at fitnesse.plugins.PluginsLoader.loadSymbolTypes(PluginsLoader.java:83)
    at fitnesse.ContextConfigurator.makeFitNesseContext(ContextConfigurator.java:151)
    at fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:65)
    at fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:54)
    at fitnesseMain.FitNesseMain.main(FitNesseMain.java:34)
Caused by: java.lang.ClassNotFoundException:  fitnesse.wikitext.widgets.MavenClasspathSymbolType
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at fitnesse.plugins.PropertyBasedPluginFeatureFactory.forName(PropertyBasedPluginFeatureFactory.java:198)
    ... 8 more

What goes wrong?

@aquddos123
Copy link

Hi Arjan,

I'm also encountering an Exception using this method. I configured my project based on https://github.com/xebia/Xebium (blog ) and have been using it for the last two years.

Currently, I'm using FitNesse version 20140630 and am trying to upgrade to 20151230. I'm able to bring up new FitNesse instance through maven but when I try to add !pomFile pom.xml to the "root" page and save it like it use to be before it throws the following on page Exception:

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'render' in class fitnesse.responders.WikiPageResponder$WikiPageRenderer threw exception java.lang.AbstractMethodError at wikiPage.vm[line 1, column 10]
My plugin.properties and POM both resides in the same folder. And I'm using maven-classpath-plugin version 1.7. Any idea how to get around this issue?

Any help is much appreciated in advance. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants