# Bundle-ClassPath

**URL:** https://bnd.discourse.group/t/bundle-classpath/190
**Category:** GENERAL
**Created:** [November 11, 2021, 6:41pm UTC](https://bnd.discourse.group/t/bundle-classpath/190 "2021-11-11T18:41:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rimmeraj](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/rimmeraj/32/251_2.png) [@rimmeraj](https://bnd.discourse.group/u/rimmeraj)
#### Post date: [November 11, 2021, 6:41pm UTC](https://bnd.discourse.group/t/bundle-classpath/190/1 "2021-11-11T18:41:15Z")

</div>

I am using Bundle-ClassPath and seeing the following error

Classes found in the wrong directory: {META-INF/versions/11/module-info.class=module-info}

I am guessing that the jar has java module info. I am not sure why BND cares. I am not unrolling the jar just including it.

---

<div class="post-metadata">

### Author: ![bjhargrave](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/bjhargrave/32/10_2.png) [@bjhargrave](https://bnd.discourse.group/u/bjhargrave)
#### Post date: [November 11, 2021, 7:40pm UTC](https://bnd.discourse.group/t/bundle-classpath/190/2 "2021-11-11T19:40:13Z")

</div>

Yes, this is well known about Multi-Release Jar support in Bnd. See [https://github.com/bndtools/bnd/issues/2227](https://github.com/bndtools/bnd/issues/2227).

You can elide the error message with a `-fixupmessages` instruction. See the examples in the issue.

---

<div class="post-metadata">

### Author: ![rimmeraj](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/rimmeraj/32/251_2.png) [@rimmeraj](https://bnd.discourse.group/u/rimmeraj)
#### Post date: [November 11, 2021, 8:29pm UTC](https://bnd.discourse.group/t/bundle-classpath/190/3 "2021-11-11T20:29:58Z")

</div>

That worked. For the record …

-fixupmessages : ‘^Classes found in the wrong directory: .\*’

---

<div class="post-metadata">

### Author: ![charafcs](https://yyz2.discourse-cdn.com/free1/user_avatar/bnd.discourse.group/charafcs/32/330_2.png) [@charafcs](https://bnd.discourse.group/u/charafcs)
#### Post date: [November 28, 2024, 3:53pm UTC](https://bnd.discourse.group/t/bundle-classpath/190/4 "2024-11-28T15:53:27Z")

</div>

And for those using the Maven plugin, the corresponding instruction is:

```auto
<_fixupmessages>^Classes found in the wrong directory.*</_fixupmessages>

```
